53381 Commits

Author SHA1 Message Date
Charles-François Natali
78ed83da46 Issue #11867: Make test_mailbox.test_lock_conflict deterministic (and fix a
race condition).
2011-12-19 12:18:55 +01:00
Ezio Melotti
62f3d0300e #13576: add tests about the handling of (possibly broken) condcoms. 2011-12-19 07:29:03 +02:00
Ezio Melotti
80a61e8d4c #13387: rephrase unclear sentence. 2011-12-19 07:04:48 +02:00
Michael Foord
a51623b160 Fix inspect.getattr_static to work on modules (again).
Closes issue 11813.
2011-12-18 22:01:40 +00:00
Victor Stinner
bd206e27a4 Handle correctly _Py_fopen() error: don't replace the exception 2011-12-18 21:04:17 +01:00
Antoine Pitrou
165b1283ff Followup to #7502: add __hash__ method and tests. 2011-12-18 20:20:17 +01:00
Antoine Pitrou
92ed3877b4 Merge 2011-12-18 19:31:02 +01:00
Georg Brandl
ac0675cc01 Small clarification in docstring of dict.update(): the positional argument is not required. 2011-12-18 19:30:55 +01:00
Antoine Pitrou
a74252633f Merge 2011-12-18 19:28:33 +01:00
Antoine Pitrou
2bc801c4ea Issue #7502: Fix equality comparison for DocTestCase instances.
Patch by Cédric Krier.
2011-12-18 19:27:45 +01:00
Victor Stinner
6fbd525ef5 Issue #13617: Document that the result of the conversion of a Unicode object to
wchar*, Py_UNICODE* and bytes may contain embedded null characters/bytes.

Patch written by Arnaud Calmettes.
2011-12-18 19:22:31 +01:00
Charles-François Natali
6d5f9e73d9 Issue #11870: threading: Properly reinitialize threads internal locks and
condition variables to avoid deadlocks in child processes.
2011-12-18 18:35:09 +01:00
Charles-François Natali
cf53ae2171 Issue #8035: urllib: Fix a bug where the client could remain stuck after a
redirection or an error.
2011-12-18 16:05:07 +01:00
Victor Stinner
a94a0e92b8 Issue #13522: Fix _Py_co_pow() documentation
Patch written by Arnaud Calmettes.
2011-12-18 02:56:18 +01:00
Antoine Pitrou
07b1c877b2 Issue #13522: document error return values of some float and complex C API functions. 2011-12-18 01:25:27 +01:00
Victor Stinner
bb2e9c477d Issue #11231: Fix bytes and bytearray docstrings
Patch written by Brice Berna.
2011-12-17 23:18:07 +01:00
Victor Stinner
e83f899364 Issue #13530: Document os.lseek() result
Patch written by Jérémy Anger.
2011-12-17 23:15:09 +01:00
Victor Stinner
136ea49b39 Issue #10951: Fix a compiler warning in timemodule.c 2011-12-17 22:37:18 +01:00
Amaury Forgeot d'Arc
7e447c8224 Fix compilation warning on Windows 2011-12-17 10:23:14 +01:00
Benjamin Peterson
0296a56520 NULL and no exception set from tp_iternext means StopIteration 2012-01-13 14:54:31 -05:00
Benjamin Peterson
9a80fa81b0 add test, which was missing from d64ac9ab4cd0 2012-01-13 14:39:38 -05:00
Antoine Pitrou
98f4e39ed4 Issue #13764: remove outdated script Misc/build.sh 2012-01-13 19:42:13 +01:00
Georg Brandl
bc3b682923 Closes #13761: add a "flush" keyword argument to print(). 2012-01-13 19:41:25 +01:00
Antoine Pitrou
5136ac0ca2 Issue #13645: pyc files now contain the size of the corresponding source
code, to avoid timestamp collisions (especially on filesystems with a low
timestamp resolution) when checking for freshness of the bytecode.
2012-01-13 18:52:16 +01:00
Benjamin Peterson
1f918c1480 make Python-ast.c depend on Python-ast.h 2012-01-13 08:45:55 -05:00
Nick Coghlan
1f7ce62bd6 Implement PEP 380 - 'yield from' (closes #11682) 2012-01-13 21:43:40 +10:00
Benjamin Peterson
e51757f6de move do_title to a better place 2012-01-12 21:10:29 -05:00
Antoine Pitrou
3a5d4cb940 Issue #13748: Raw bytes literals can now be written with the rb prefix as well as br. 2012-01-12 22:46:19 +01:00
Antoine Pitrou
b63a450cc4 test_strlit was never run 2012-01-12 22:38:13 +01:00
Benjamin Peterson
821e4cfd01 make fix_decimal_and_space_to_ascii check if it modifies the string 2012-01-12 15:40:18 -05:00
Benjamin Peterson
1adbc6f56a merge heads 2012-01-12 15:26:20 -05:00
Benjamin Peterson
0c91392fe6 kill capwords implementation which has been disabled since the begining 2012-01-12 15:25:41 -05:00
Terry Jan Reedy
dc41e3f23f Merge #11633 At least 2 people prefer earlier revision. 2012-01-12 14:51:14 -05:00
Antoine Pitrou
70d62b30e4 Issue #13724: improve documentation for socket.create_connection. 2012-01-12 08:06:49 +01:00
Benjamin Peterson
0ab2a26865 merge 3.2 2012-01-11 21:00:48 -05:00
Benjamin Peterson
21e0da228d remove some usage of Py_UNICODE_TOUPPER/LOWER 2012-01-11 21:00:42 -05:00
Benjamin Peterson
22ef4fa7e9 merge heads 2012-01-11 18:17:40 -05:00
Benjamin Peterson
b2bf01d824 use full unicode mappings for upper/lower/title case (#12736)
Also broaden the category of characters that count as lowercase/uppercase.
2012-01-11 18:17:06 -05:00
Terry Jan Reedy
982c91e4c9 Merge with 3.2 2012-01-11 14:56:22 -05:00
Terry Jan Reedy
7a825ba3c6 Merge with 3.2
#11633 Clarify print buffering (will change again if 13761 adds flush param).
2012-01-11 14:14:14 -05:00
Terry Jan Reedy
610e8140de Merge with 3.2
#13754 String returned if less than *or equal to* x 3
*13753 'seq' now 'iterable'
2012-01-11 03:32:43 -05:00
Antoine Pitrou
9007f72db0 Remove unused certificate from the test directory. 2012-01-10 23:46:26 +01:00
Victor Stinner
1134b0dbbd Fix _PyFaulthandler_Fini() so it can be called before _PyFaulthandler_Init() 2012-01-10 22:44:11 +01:00
Charles-François Natali
76961faaa0 Issue #13757: Change os.fdlistdir() so that it duplicates the passed file
descriptor (instead of closing it).
2012-01-10 20:25:09 +01:00
Senthil Kumaran
bda7a80194 Merge from 3.2 - Issue9637 - Explain in getproxies_environment that <scheme>_proxy environ variable case does not matter. 2012-01-11 01:30:23 +08:00
Terry Jan Reedy
8d172343ad Merge with 3.2 2012-01-09 18:33:27 -05:00
Charles-François Natali
dc3044c704 Issue #12760: Add a create mode to open(). Patch by David Townshend. 2012-01-09 22:40:02 +01:00
Antoine Pitrou
8a9b9c7d16 Merge SSL doc fixes (issue #13747). 2012-01-09 21:46:11 +01:00
Raymond Hettinger
7b7caa8ec6 Fix nasty typo 2012-01-09 20:02:24 +00:00
Giampaolo Rodola'
8bc8585873 provide a common method to check for RETR_DATA validity, first checking the expected len and then the actual data content; this way we get a failure on len mismatch rather than content mismatch (which is very long and unreadable) 2012-01-09 17:10:10 +01:00