Commit graph

76761 commits

Author SHA1 Message Date
R David Murray
14d080eaa1 #16259: delete some no-longer-used code from regrtest.
dash_R is only called from one location, and from that location
an indirect_test is passed.
2013-01-12 11:34:38 -05:00
Serhiy Storchaka
52f80a7041 Issue #16829: IDLE printing no longer fails if there are spaces or other
special characters in the file path.
2013-01-12 18:17:24 +02: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
Charles-François Natali
6c566b3ce9 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:55:31 +01: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
Eli Bendersky
8f35e842eb clean trailing whitespace 2013-01-12 07:44:47 -08:00
Eli Bendersky
c31f77355c clean trailing whitespace 2013-01-12 07:44:32 -08:00
Eli Bendersky
288b438795 Issues #15083 and #16992: port find.* method tests to unittest 2013-01-12 07:43:35 -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
eb2884a875 Close #15442: Expand the list of default directories ignored by filecmp.dircmp and expose it as a module attribute 2013-01-12 06:13:32 -08:00
Eli Bendersky
60a0c71031 Issue #16076: check for return value of PyTuple_New for args (following
Coverity report) and cleanup code.
2013-01-12 05:43:08 -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
0f3735b8f0 Close #16076: fix refleak in pickling of Element.
Thanks to Ezio Melotti and Daniel Shahaf for the patch.
2013-01-12 05:21:06 -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
Charles-François Natali
a6ebb2d7fb Issue #16876: Revert be8e6b81284e, which wasn't thread-safe: wait until a
solution is found for poll().
2013-01-12 12:31:00 +01:00
Ezio Melotti
e6f3d53138 #16940: merge with 3.3. 2013-01-12 10:40:49 +02: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
Raymond Hettinger
464d89b3ce Issue #16398: Optimize deque.rotate() 2013-01-11 22:29:50 -08:00
Chris Jerdonek
eb9e885f78 Issue #16933 (merge from 3.3): Improve choices examples in argparse docs. 2013-01-11 19:29:43 -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
Vinay Sajip
1ba81ee19a Closes #16613: Added optional mapping argument to ChainMap.new_child. 2013-01-11 23:39:53 +00:00
Brett Cannon
569ff4fbbc Issue #15031: Refactor some code in importlib pertaining to validating
and compiling bytecode.

Thanks to Ronan Lamy for pointing the redundancy and taking an initial
stab at the refactor (as did Nick Coghlan).
2013-01-11 18:09:25 -05:00
Brett Cannon
77173c01c9 merge 2013-01-11 15:44:57 -05:00
Brett Cannon
ed6b4c0020 merge 2013-01-11 15:44:00 -05:00
Brett Cannon
4d35c57c9c merge 2013-01-11 15:43:34 -05:00
Brett Cannon
c57f9f9419 Merge from 3.3 for fix for issue #16730 2013-01-11 15:42:30 -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
1829bb4591 Issue #15539: Fix a backup file creation in pindent.py on Windows. 2013-01-11 22:21:45 +02: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
Georg Brandl
cba18fefdc merge with 3.3 2013-01-11 20:26:54 +01: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
Brett Cannon
b463c482bf Issue #3583: mention that testing whether a bad address not triggering
an OSError can mean a bad DNS server and not an actual bug.
2013-01-11 11:17:53 -05:00
Tim Golden
9d30698d9e #16921 Since Win9x is no longer supported, CREATE_NEW_CONSOLE is
no longer implied by shell=True
2013-01-11 13:28:31 +00:00
Ezio Melotti
e814501c21 Merge patchcheck changes with 3.3 2013-01-11 14:12:42 +02: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
Serhiy Storchaka
f3ffb01976 Null merge 2013-01-11 12:34:48 +02:00
Serhiy Storchaka
69c753d9a6 Null merge 2013-01-11 12:34:21 +02:00
Serhiy Storchaka
e085306e54 Merge heads 2013-01-11 12:33:10 +02:00
Serhiy Storchaka
5150a3393d Merge heads 2013-01-11 12:32:37 +02:00
Serhiy Storchaka
fd25ffa012 Merge heads 2013-01-11 12:28:53 +02:00
Serhiy Storchaka
9942e5a9cf Issue #15539: Fix a number of bugs in Tools/scripts/pindent.py.
Now pindent.py works with a "with" statement.  pindent.py no longer produces
improper indentation.  pindent.py now works with continued lines broken after
"class" or "def" keywords and with continuations at the start of line.  Added
regression tests for pindent.py.  Modernized pindent.py.
2013-01-11 12:12:32 +02:00
Serhiy Storchaka
40ce22edb5 Issue #15539: Fix a number of bugs in Tools/scripts/pindent.py.
Now pindent.py works with a "with" statement.  pindent.py no longer produces
improper indentation.  pindent.py now works with continued lines broken after
"class" or "def" keywords and with continuations at the start of line.  Added
regression tests for pindent.py.  Modernized pindent.py.
2013-01-11 12:10:57 +02:00
Serhiy Storchaka
6840a54ad4 Issue #15539: Fix a number of bugs in Tools/scripts/pindent.py.
Now pindent.py works with a "with" statement.  pindent.py no longer produces
improper indentation.  pindent.py now works with continued lines broken after
"class" or "def" keywords and with continuations at the start of line.  Added
regression tests for pindent.py.  Modernized pindent.py.
2013-01-11 12:04:23 +02:00
Sandro Tosi
ba8279f252 merge with 3.3 2013-01-11 10:49:43 +01:00