- 06 Nov, 2012 16 commits
-
-
Victor Stinner authored
-
Victor Stinner authored
* Remove unicode_widen(): replaced with _PyUnicodeWriter_Prepare() * Remove unicode_putchar(): replaced with PyUnicodeWriter_Prepare() + PyUnicode_WRITER() * When handling an decoding error, only overallocate the buffer by +25% instead of +100%
-
Victor Stinner authored
With the ANSI code page 932, os.listdir(b'\xe7') return an empty list (instead of failing), whereas os.listdir(b'\xff') raises a FileNotFoundError. It looks like a Windows bug: b'\xe7' directory does not exist, FindFirstFileA(b'\xe7') fails with ERROR_FILE_NOT_FOUND (2), instead of ERROR_PATH_NOT_FOUND (3).
-
Stefan Krah authored
-
Stefan Krah authored
-
Victor Stinner authored
It should increase the probability of finding a non-ASCII character on any locale encoding.
-
Victor Stinner authored
-
Stefan Krah authored
-
Victor Stinner authored
* support.TESTFN_UNDECODABLE was decodable if the filesystem encoding was cp932 * test_genericpath.test_nonascii_abspath() didn't work on Windows if the path was not decodable (ex: with cp932)
-
Stefan Krah authored
-
Victor Stinner authored
These constants are used to test functions with non-ASCII data, especially filenames.
-
Tim Golden authored
-
Tim Golden authored
-
Tim Golden authored
-
Tim Golden authored
-
Tim Golden authored
-
- 05 Nov, 2012 14 commits
-
-
Ezio Melotti authored
-
Ezio Melotti authored
-
Nick Coghlan authored
-
Nick Coghlan authored
-
Nick Coghlan authored
-
Nick Coghlan authored
-
Nick Coghlan authored
If anyone finds another recursive C path that bypasses the recursion limiting, they can add a new crasher example.
-
Andrew Svetlov authored
Patch by Taras Lyapun.
-
Andrew Svetlov authored
-
Andrew Svetlov authored
-
Victor Stinner authored
Use year 1990 instead of year 1970 to avoid issues with negative timestamps.
-
Victor Stinner authored
Use year 1990 instead of year 1970 to avoid issues with negative timestamps.
-
Victor Stinner authored
os.listdir() now returns the original path in OSError.filename (on any platform), even if "*.*" was added to the path (on Windows).
-
Victor Stinner authored
os.open() uses _wopen() which sets errno, not the Windows error code.
-
- 04 Nov, 2012 10 commits
-
-
Nadeem Vawda authored
Issue #16350: Fix zlib decompressor handling of unused_data with multiple calls to decompress() after EOF. Patch by Serhiy Storchaka.
-
Nadeem Vawda authored
Issue #16350: Fix zlib decompressor handling of unused_data with multiple calls to decompress() after EOF. Patch by Serhiy Storchaka.
-
Nadeem Vawda authored
Issue #16350: Fix zlib decompressor handling of unused_data with multiple calls to decompress() after EOF. Patch by Serhiy Storchaka.
-
Victor Stinner authored
-
Victor Stinner authored
-
Ezio Melotti authored
-
Ezio Melotti authored
-
Ezio Melotti authored
#5057: the peepholer no longer optimizes subscription on unicode literals (e.g. u"foo"[0]) in order to produce compatible pyc files between narrow and wide builds.
-
Ezio Melotti authored
-
Ezio Melotti authored
#8271: the utf-8 decoder now outputs the correct number of U+FFFD characters when used with the "replace" error handler on invalid utf-8 sequences. Patch by Serhiy Storchaka, tests by Ezio Melotti.
-