]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #9819: don't try to encode TESTFN_UNICODE on Windows
authorVictor Stinner <victor.stinner@haypocalc.com>
Sat, 11 Sep 2010 12:52:30 +0000 (12:52 +0000)
committerVictor Stinner <victor.stinner@haypocalc.com>
Sat, 11 Sep 2010 12:52:30 +0000 (12:52 +0000)
commitca6525afba27f71deb4ce87bbdf54b5db010ef0e
treeb9d5c433570a0be3fb1b41de95d767bf98be9bd4
parent4039aff8144409bf458a8b352f8bc8fd2c6e02eb
Issue #9819: don't try to encode TESTFN_UNICODE on Windows

mbcs (Windows default filesystem encoding) is now strict by default, and
depending on the code page, TESTFN_UNICODE may not be encodable to bytes.

Remove also unused "encoded" argument from _do_directory() method.
Lib/test/test_unicode_file.py