summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge 3.3.Stefan Krah2012-11-073-2/+35
|\
| * Issue #16431: Use the type information when constructing a Decimal subtypeStefan Krah2012-11-073-2/+35
| | | | | | | | from a Decimal argument.
* | Issue #15001: fix segfault on "del sys.module['__main__']"Hynek Schlawack2012-11-073-6/+21
|\ \ | |/ | | | | Patch by Victor Stinner.
| * Issue #15001: fix segfault on "del sys.module['__main__']"Hynek Schlawack2012-11-073-6/+21
| |\ | | | | | | | | | Patch by Victor Stinner.
| | * Issue #15001: fix segfault on "del sys.module['__main__']"Hynek Schlawack2012-11-073-6/+21
| | | | | | | | | | | | Patch by Victor Stinner.
* | | Remove outdated commentVictor Stinner2012-11-061-1/+0
| | |
* | | Close #16311: Use the _PyUnicodeWriter API in text decodersVictor Stinner2012-11-061-324/+328
| | | | | | | | | | | | | | | | | | | | | | | | * 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%
* | | Issue #16414: Fix test_os on Windows, don't test os.listdir() with undecodableVictor Stinner2012-11-061-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
* | | Merge.Stefan Krah2012-11-061-10/+27
|\ \ \
| * | | Issue #16414: Test more characters for support.FS_NONASCIIVictor Stinner2012-11-061-9/+26
| | | | | | | | | | | | | | | | | | | | It should increase the probability of finding a non-ASCII character on any locale encoding.
| * | | Issue #16414: Fix typo in support.TESTFN_NONASCII (useless space)Victor Stinner2012-11-061-1/+1
| | | |
* | | | Merge.Stefan Krah2012-11-065-19/+64
|\ \ \ \ | |/ / /
| * | | Issue #16414: Fix support.TESTFN_UNDECODABLE and ↵Victor Stinner2012-11-062-9/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | test_genericpath.test_nonascii_abspath() * 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)
| * | | Issue #16414: Add support.FS_NONASCII and support.TESTFN_NONASCIIVictor Stinner2012-11-065-12/+42
| | | | | | | | | | | | | | | | | | | | These constants are used to test functions with non-ASCII data, especially filenames.
* | | | Null merge.Stefan Krah2012-11-060-0/+0
|\ \ \ \ | |/ / / |/| / / | |/ /
| * | Backport fc8f1b1c76bf.Stefan Krah2012-11-061-14/+4
| | |
* | | Reversed changes from issue9584Tim Golden2012-11-064-118/+25
|\ \ \
| * | | Backed out changeset dafca4714298Tim Golden2012-11-064-118/+25
| | | |
* | | | Backed out changeset 5cf6c427fd39Tim Golden2012-11-061-16/+16
| | | |
* | | | Correct mis-indented whitespaceTim Golden2012-11-061-16/+16
|/ / /
* | | issue9584: Add {} list expansion to glob. Original patch by Mathieu BridonTim Golden2012-11-064-25/+118
| | |
* | | Merge typo fix.Ezio Melotti2012-11-051-1/+1
|\ \ \ | |/ /
| * | Fix typo noticed by Tom Lynn.Ezio Melotti2012-11-051-1/+1
| | |
* | | Merge #6717 crasher from 3.3Nick Coghlan2012-11-051-0/+27
|\ \ \ | |/ /
| * | Merge #6717 crasher from 3.2Nick Coghlan2012-11-051-0/+27
| |\ \ | | |/
| | * Record a known crasher from #6717Nick Coghlan2012-11-051-0/+27
| | |
* | | Merge from 3.3Nick Coghlan2012-11-051-16/+0
|\ \ \ | |/ /
| * | The migration to importlib eliminated this crasherNick Coghlan2012-11-051-16/+0
| | | | | | | | | | | | | | | If anyone finds another recursive C path that bypasses the recursion limiting, they can add a new crasher example.
* | | Issue #15641: Clean up deprecated classes from importlibAndrew Svetlov2012-11-055-834/+7
| | | | | | | | | | | | Patch by Taras Lyapun.
* | | Revome extra .py suffixAndrew Svetlov2012-11-051-1/+1
| | |
* | | Issue #16218: Fix test for issue againAndrew Svetlov2012-11-051-18/+19
| | |
* | | (Merge 3.3) Close #15165: Fix test_email on Windows 64 bitsVictor Stinner2012-11-051-4/+4
|\ \ \ | |/ / | | | | | | Use year 1990 instead of year 1970 to avoid issues with negative timestamps.
| * | Close #15165: Fix test_email on Windows 64 bitsVictor Stinner2012-11-051-4/+4
| | | | | | | | | | | | Use year 1990 instead of year 1970 to avoid issues with negative timestamps.
* | | Issue #15478: Fix test_pep277 on WindowsVictor Stinner2012-11-051-4/+0
| | | | | | | | | | | | | | | os.listdir() now returns the original path in OSError.filename (on any platform), even if "*.*" was added to the path (on Windows).
* | | Issue #15478: Oops, fix regression in os.open() on WindowsVictor Stinner2012-11-051-1/+1
| | | | | | | | | | | | os.open() uses _wopen() which sets errno, not the Windows error code.
* | | Issue #16350: Fix zlib decompressor handling of unused_data with multiple ↵Nadeem Vawda2012-11-043-6/+41
|\ \ \ | |/ / | | | | | | | | | | | | calls to decompress() after EOF. Patch by Serhiy Storchaka.
| * | Issue #16350: Fix zlib decompressor handling of unused_data with multiple ↵Nadeem Vawda2012-11-043-6/+41
| |\ \ | | |/ | | | | | | | | | | | | calls to decompress() after EOF. Patch by Serhiy Storchaka.
| | * Issue #16350: Fix zlib decompressor handling of unused_data with multiple ↵Nadeem Vawda2012-11-043-6/+40
| | | | | | | | | | | | | | | | | | calls to decompress() after EOF. Patch by Serhiy Storchaka.
* | | (Merge 3.3) Issue #8271: Fix compilation on WindowsVictor Stinner2012-11-041-1/+1
|\ \ \ | |/ /
| * | Issue #8271: Fix compilation on WindowsVictor Stinner2012-11-041-1/+1
| | |
* | | #5057: null merge with 3.3 (only add tests).Ezio Melotti2012-11-041-0/+3
|\ \ \ | |/ /
| * | #5057: null merge with 3.2 (only add tests).Ezio Melotti2012-11-041-0/+3
| |\ \ | | |/
| | * #5057: the peepholer no longer optimizes subscription on unicode literals ↵Ezio Melotti2012-11-043-24/+18
| | | | | | | | | | | | (e.g. u"foo"[0]) in order to produce compatible pyc files between narrow and wide builds.
* | | #8271: merge with 3.3.Ezio Melotti2012-11-044-37/+291
|\ \ \ | |/ /
| * | #8271: the utf-8 decoder now outputs the correct number of U+FFFD ↵Ezio Melotti2012-11-044-38/+292
| | | | | | | | | | | | characters when used with the "replace" error handler on invalid utf-8 sequences. Patch by Serhiy Storchaka, tests by Ezio Melotti.
* | | Fix copy&paste errors and reformulate the tests.Stefan Krah2012-11-041-14/+4
| | |
* | | Merge from 3.3Nick Coghlan2012-11-041-1/+1
|\ \ \ | |/ /
| * | Properly credit patchNick Coghlan2012-11-041-1/+1
| | |
* | | Issue #5765: Merge from 3.3Nick Coghlan2012-11-041-0/+7
|\ \ \ | |/ /
| * | Issue #5765: Also check the compiler when finding the recursion limitNick Coghlan2012-11-041-0/+7
| | |