Commit Graph

57860 Commits

Author SHA1 Message Date
Andrew Svetlov 73b56c8d57 Merge issue #16435: Link in tutorial now points to python3 FAQ.
Thanks to Yongzhi Pan from docs@
2012-11-08 16:11:44 +02:00
Andrew Svetlov b5570e9909 Merge issue #16435: Link in tutorial now points to python3 FAQ.
Thanks to Yongzhi Pan from docs@
2012-11-08 16:11:22 +02:00
Andrew Svetlov 0e9a065275 Issue #16435: Link in tutorial now points to python3 FAQ.
Thanks to Yongzhi Pan from docs@
2012-11-08 16:10:49 +02:00
Stefan Krah 4cb103ee39 Merge 3.3. 2012-11-08 11:19:55 +01:00
Stefan Krah 0f82b76b57 Issue #16431: Finally, consider all permutations. 2012-11-08 11:17:29 +01:00
Ezio Melotti dee9043423 #16433: merge with 3.3. 2012-11-08 11:09:28 +02:00
Ezio Melotti 9cfa1ff891 #16433: merge with 3.2. 2012-11-08 11:09:13 +02:00
Ezio Melotti 90eea97a33 #16433: fix docstring of assertNotEqual. 2012-11-08 11:08:39 +02:00
Ezio Melotti 770a5bc9cd #11481: merge with 3.3. 2012-11-08 11:06:19 +02:00
Ezio Melotti b77dc4ec5f #11481: merge with 3.2. 2012-11-08 11:06:01 +02:00
Ezio Melotti 78b18d4b4c #11481: update copyreg docs and add example. 2012-11-08 11:04:57 +02:00
Ezio Melotti 44dbd07a51 Merge heads. 2012-11-08 10:11:22 +02:00
Ezio Melotti f62f3a4135 #10385: merge with 3.3. 2012-11-08 10:09:24 +02:00
Ezio Melotti 60e22b9c5d #10385: merge with 3.2. 2012-11-08 10:09:06 +02:00
Ezio Melotti 402f75d966 #10385: use the mod role in subprocess docs. 2012-11-08 10:07:10 +02:00
Stefan Krah d2d3aa2038 Merge 3.3. 2012-11-07 23:54:37 +01:00
Stefan Krah ed16eff57e Issue #16431: Also fix the opposite direction. 2012-11-07 23:47:19 +01:00
Stefan Krah fc55bb1cc5 Merge 3.3. 2012-11-07 23:20:10 +01:00
Stefan Krah f4abc7b8a0 Issue #16431: Use the type information when constructing a Decimal subtype
from a Decimal argument.
2012-11-07 23:12:25 +01:00
Hynek Schlawack 15c02e3048 Issue #15001: fix segfault on "del sys.module['__main__']"
Patch by Victor Stinner.
2012-11-07 09:10:49 +01:00
Hynek Schlawack 33363f43e3 Issue #15001: fix segfault on "del sys.module['__main__']"
Patch by Victor Stinner.
2012-11-07 09:07:22 +01:00
Hynek Schlawack 5c6b3e214c Issue #15001: fix segfault on "del sys.module['__main__']"
Patch by Victor Stinner.
2012-11-07 09:02:24 +01:00
Victor Stinner 99dd8b577b Remove outdated comment 2012-11-07 00:57:26 +01:00
Victor Stinner fc009eff9e Close #16311: Use the _PyUnicodeWriter API in text decoders
* 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%
2012-11-07 00:36:38 +01:00
Victor Stinner 64e039af02 Issue #16414: Fix test_os on Windows, don't test os.listdir() with undecodable
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).
2012-11-07 00:10:14 +01:00
Stefan Krah 8198f5d58e Merge. 2012-11-06 23:55:58 +01:00
Stefan Krah cd81709b9e Merge. 2012-11-06 23:51:42 +01:00
Victor Stinner ab8b6bd7fb Issue #16414: Test more characters for support.FS_NONASCII
It should increase the probability of finding a non-ASCII character on any
locale encoding.
2012-11-06 23:43:21 +01:00
Victor Stinner 90a9d51137 Issue #16414: Fix typo in support.TESTFN_NONASCII (useless space) 2012-11-06 23:40:22 +01:00
Stefan Krah e84226ac23 Null merge. 2012-11-06 23:36:08 +01:00
Victor Stinner 8f049e5b5b Issue #16414: Fix support.TESTFN_UNDECODABLE and 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)
2012-11-06 23:33:46 +01:00
Stefan Krah c3fb3c3fa0 Backport fc8f1b1c76bf. 2012-11-06 23:27:24 +01:00
Victor Stinner 8b219b2936 Issue #16414: Add support.FS_NONASCII and support.TESTFN_NONASCII
These constants are used to test functions with non-ASCII data, especially
filenames.
2012-11-06 23:23:43 +01:00
Tim Golden df1d940c7c Reversed changes from issue9584 2012-11-06 15:34:23 +00:00
Tim Golden 9b3fb0c6a0 Backed out changeset dafca4714298 2012-11-06 15:33:30 +00:00
Tim Golden 3df8887fdf Backed out changeset 5cf6c427fd39 2012-11-06 15:32:50 +00:00
Tim Golden 7fd4b68a70 Correct mis-indented whitespace 2012-11-06 13:55:42 +00:00
Tim Golden 8f323d9aca issue9584: Add {} list expansion to glob. Original patch by Mathieu Bridon 2012-11-06 13:50:42 +00:00
Ezio Melotti 10ffea887c Merge typo fix. 2012-11-05 22:23:16 +02:00
Ezio Melotti 99bafff7cc Fix typo noticed by Tom Lynn. 2012-11-05 22:22:48 +02:00
Nick Coghlan d9d1d08b07 Merge #6717 crasher from 3.3 2012-11-05 21:33:22 +10:00
Nick Coghlan 1de70b52a4 Merge #6717 crasher from 3.2 2012-11-05 21:32:11 +10:00
Nick Coghlan 692b023f77 Record a known crasher from #6717 2012-11-05 21:26:57 +10:00
Nick Coghlan 82de6d20de Merge from 3.3 2012-11-05 20:40:57 +10:00
Nick Coghlan 32dd36bdce The migration to importlib eliminated this crasher
If anyone finds another recursive C path that bypasses the recursion
limiting, they can add a new crasher example.
2012-11-05 20:40:25 +10:00
Andrew Svetlov 90a654b1dd Issue #15641: Clean up deprecated classes from importlib
Patch by Taras Lyapun.
2012-11-05 09:34:46 +02:00
Andrew Svetlov bcbf4036c9 Revome extra .py suffix 2012-11-05 09:28:42 +02:00
Andrew Svetlov 7529620a15 Issue #16218: Fix test for issue again 2012-11-05 08:20:15 +02:00
Victor Stinner 33f13ee133 (Merge 3.3) Close #15165: Fix test_email on Windows 64 bits
Use year 1990 instead of year 1970 to avoid issues with negative timestamps.
2012-11-05 02:06:34 +01:00
Victor Stinner 9d95cbeaf9 Close #15165: Fix test_email on Windows 64 bits
Use year 1990 instead of year 1970 to avoid issues with negative timestamps.
2012-11-05 02:06:13 +01:00