Merge lp:~gz/bzr/fix_win32utils_deprecations into lp:bzr
Proposed by
Martin Packman
Status: | Merged |
---|---|
Approved by: | Vincent Ladeuil |
Approved revision: | no longer in the source branch. |
Merged at revision: | 6394 |
Proposed branch: | lp:~gz/bzr/fix_win32utils_deprecations |
Merge into: | lp:bzr |
Diff against target: |
107 lines (+53/-6) 2 files modified
bzrlib/tests/test_win32utils.py (+46/-0) bzrlib/win32utils.py (+7/-6) |
To merge this branch: | bzr merge lp:~gz/bzr/fix_win32utils_deprecations |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
bzr-core | Pending | ||
Review via email: mp+86213@code.launchpad.net |
Commit message
Fix deprecations of win32utils path function unicode wrappers
Description of the change
Fix screwup of deprecation of unicode wrapper methods^Wfunctions in earlier branch. Also adds tests and makes sort-of testable on nix, as I'd actually fixed the mistake but lost it in a shelve dance and didn't realised as these code paths are only exercised on windows.
Changing the fallback method is annoying but unimportant. With Python 2.6 as a minumum version, ctypes should never be unavailable, and get_user_encoding will, unless messed with, return the python equivalent encoding of the GetACP return.
To post a comment you must log in.
sent to pqm by email