Commit graph

77933 commits

Author SHA1 Message Date
Richard Oudkerk
90b5d9288d Issue #10527: Use poll() instead of select() for multiprocessing pipes 2013-01-14 23:09:14 +00:00
Serhiy Storchaka
64bfcc4c22 Issue #9720: zipfile now writes correct local headers for files larger than 4 GiB. 2013-01-15 00:38:17 +02:00
Serhiy Storchaka
182d7cd531 Issue #9720: zipfile now writes correct local headers for files larger than 4 GiB. 2013-01-15 00:31:39 +02:00
Serhiy Storchaka
80a9fd77a0 Issue #9720: zipfile now writes correct local headers for files larger than 4 GiB. 2013-01-15 00:29:51 +02:00
Giampaolo Rodola'
67da89446a fix for previous commit related to issue 10527 which didn't have the intended effect as per http://bugs.python.org/issue10527#msg179895 2013-01-14 02:24:25 +01:00
Richard Oudkerk
ed9e06cb21 Issue #16955: Fix the poll() method for multiprocessing's socket
connections on Windows.
2013-01-13 22:46:48 +00:00
Serhiy Storchaka
f1b045f417 Describe the default_namespace parameter of ElemetTree.write. 2013-01-13 22:04:43 +02:00
Serhiy Storchaka
03530b980e Describe the default_namespace parameter of ElemetTree.write. 2013-01-13 21:58:04 +02:00
Serhiy Storchaka
3d4a02ab8c Describe the default_namespace parameter of ElemetTree.write. 2013-01-13 21:57:14 +02:00
Eli Bendersky
25771b3749 Issue #16922: fixed findtext() to return empty Unicode string instead of empty bytes object when there's no text.
Patch by Serhiy Storchaka.
2013-01-13 05:26:07 -08:00
Eli Bendersky
a9edb6c4d1 Merge 3.2 and revert changes since the changes in 3.3 are a bit different 2013-01-13 05:25:17 -08:00
Eli Bendersky
b09b167419 Issue #16922: fixed findtext() to return empty Unicode string instead of empty bytes object when there's no text.
Patch by Serhiy Storchaka.
2013-01-13 05:22:05 -08:00
Eli Bendersky
253a843f15 merge heads 2013-01-13 05:17:19 -08:00
Eli Bendersky
4583990143 Clean trailing whitespace in _elementtree.c 2013-01-13 05:14:47 -08:00
Charles-François Natali
c78de46912 Fix test_posix failure on NetBSD buildbots: sched_setparam() and
sched_setscheduler() can fail with EINVAL if the process scheduling policy is
neither SCHED_FIFO nor SCHED_RR.
2013-01-13 14:10:37 +01:00
Charles-François Natali
1ea12ff04d test_asyncore: wait explicitly for a thread termination (this dangling thread
could be the cause of a random failure).
2013-01-13 14:08:01 +01:00
Charles-François Natali
ce1519d250 test_asyncore: wait explicitly for a thread termination (this dangling thread
could be the cause of a random failure).
2013-01-13 13:56:52 +01:00
Charles-François Natali
8c9047149b test_asyncore: wait explicitly for a thread termination (this dangling thread
could be the cause of a random failure).
2013-01-13 13:55:13 +01:00
Benjamin Peterson
0e5c48a917 make deque_clear void, since it's infallible 2013-01-12 21:22:18 -05:00
Benjamin Peterson
40056de9f5 make deque_clear void, since it's infallible 2013-01-12 21:22:18 -05:00
Antoine Pitrou
db5012ab47 In test_ssl, threaded tests shouldn't need the "network" resource to be enabled 2013-01-12 22:00:09 +01:00
Antoine Pitrou
e1ceb50cdf Issue #16923: Fix ResourceWarnings in test_ssl. 2013-01-12 21:54:44 +01:00
Antoine Pitrou
457a2292ca SSLContext.load_dh_params() now properly closes the input file. 2013-01-12 21:43:45 +01:00
Serhiy Storchaka
69db587f86 Issue #16829: IDLE printing no longer fails if there are spaces or other
special characters in the file path.
2013-01-12 18:16:18 +02:00
Serhiy Storchaka
74fe9f307d Issue #16829: IDLE printing no longer fails if there are spaces or other
special characters in the file path.
2013-01-12 18:13:24 +02:00
Serhiy Storchaka
eebcb5f790 Issue #16829: IDLE printing no longer fails if there are spaces or other
special characters in the file path.
2013-01-12 18:12:27 +02:00
Charles-François Natali
dbc744ac74 Issue #16762: Fix some test_subprocess failures on NetBSD and OpenBSD: kill()
returns ESRCH for a zombie process, which is not POSIX-compliant.
2013-01-12 16:54:45 +01:00
Charles-François Natali
53221e371d Issue #16762: Fix some test_subprocess failures on NetBSD and OpenBSD: kill()
returns ESRCH for a zombie process, which is not POSIX-compliant.
2013-01-12 16:52:20 +01:00
Charles-François Natali
ef2bd67e23 Issue #16762: Fix some test_subprocess failures on NetBSD and OpenBSD: kill()
returns ESRCH for a zombie process, which is not POSIX-compliant.
2013-01-12 16:52:20 +01:00
Eli Bendersky
c31f77355c clean trailing whitespace 2013-01-12 07:44:32 -08:00
Eli Bendersky
ceab1a950b Issues #15083 and #16992: port find.* method tests to unittest 2013-01-12 07:42:46 -08:00
Eli Bendersky
799e3edaf7 Issue #16076: check for return value of PyTuple_New for args (following
Coverity report) and cleanup code.
2013-01-12 05:42:38 -08:00
Eli Bendersky
b8f6dc855c Issue #16076: fix refleak in pickling of Element.
Thanks to Ezio Melotti and Daniel Shahaf for the patch.
2013-01-12 05:20:16 -08:00
Ezio Melotti
9895ab463b #16940: merge with 3.2. 2013-01-12 10:40:24 +02:00
Ezio Melotti
7128e073e2 #16940: fix indentation in example. 2013-01-12 10:39:45 +02:00
Ezio Melotti
dc157fcbd3 #16940: fix indentation in example. 2013-01-12 10:39:45 +02:00
Raymond Hettinger
2cdb6435d6 Issue #16398: Optimize deque.rotate() 2013-01-12 00:05:00 -08:00
Chris Jerdonek
71e39fb484 Issue #16933 (merge from 3.2): Improve choices examples in argparse docs. 2013-01-11 19:28:05 -08:00
Chris Jerdonek
174ef67b56 Issue #16933 (2.7 forward-port): Improve choices examples in argparse docs. 2013-01-11 19:26:44 -08:00
Chris Jerdonek
92e2fc8360 Issue #16933: Improve choices examples in argparse documentation. 2013-01-11 19:25:28 -08:00
Brett Cannon
ed6b4c0020 merge 2013-01-11 15:44:00 -05:00
Brett Cannon
a9976b3e32 Issue #16730: Don't raise an exception in
importlib.machinery.FileFinder when the directory has become
unreadable or a file. This brings semantics in line with Python 3.2
import.

Reported and diagnosed by David Pritchard.
2013-01-11 15:40:12 -05:00
Serhiy Storchaka
b4fb2e2aac Issue #15539: Fix a backup file creation in pindent.py on Windows. 2013-01-11 22:19:07 +02:00
Serhiy Storchaka
a3a01b6ac3 Issue #15539: Fix a backup file creation in pindent.py on Windows. 2013-01-11 22:18:17 +02:00
Serhiy Storchaka
dfae912d80 Issue #15539: Fix backup file creation in pindent.py on Windows 2013-01-11 22:16:15 +02:00
Georg Brandl
154dc4e423 Closes #16936: fix duplicate/ambiguous description of stat.S_IFMT in the docs. 2013-01-11 20:25:54 +01:00
Georg Brandl
8b41c2e259 Closes #16936: fix duplicate/ambiguous description of stat.S_IFMT in the docs. 2013-01-11 20:25:54 +01:00
Ezio Melotti
8762595ef3 Merge patchcheck changes with 3.2 2013-01-11 14:12:20 +02:00
Ezio Melotti
5e12bb728f Add a note about checking refleaks to patchcheck. 2013-01-11 14:07:47 +02:00
Ezio Melotti
9e9cb2810e Add a note about checking refleaks to patchcheck. 2013-01-11 14:07:47 +02:00