Commit graph

80396 commits

Author SHA1 Message Date
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
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
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
Chris Jerdonek
92e2fc8360 Issue #16933: Improve choices examples in argparse documentation. 2013-01-11 19:25:28 -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
Serhiy Storchaka
dfae912d80 Issue #15539: Fix backup file creation in pindent.py on Windows 2013-01-11 22:16:15 +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
Georg Brandl
8b41c2e259 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
Ezio Melotti
9e9cb2810e 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
4b263663fc Merge heads 2013-01-11 12:27:43 +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
Serhiy Storchaka
8cd7f82024 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 11:59:59 +02:00
Sandro Tosi
ba8279f252 merge with 3.3 2013-01-11 10:49:43 +01:00
Sandro Tosi
a525fc161a merge with 3.2 2013-01-11 10:49:28 +01:00
Sandro Tosi
32587fbb89 grammatical fix; thanks to Alex Rudnick from docs@ 2013-01-11 10:49:00 +01:00
Sandro Tosi
2534f9aa39 grammatical fix; thanks to Alex Rudnick from docs@ 2013-01-11 10:48:34 +01:00
Ezio Melotti
14af64fb38 #16154: merge with 3.3. 2013-01-11 09:12:49 +02:00
Ezio Melotti
5a4b03dd82 #16154: merge with 3.2. 2013-01-11 09:12:28 +02:00
Ezio Melotti
405079213b #16154: fix some doctests in Doc/library. Patch by Ravi Sinha. 2013-01-11 09:09:07 +02:00
Ezio Melotti
14091a6bca Merge heads. 2013-01-11 09:06:12 +02:00
Chris Jerdonek
1f49c5c37e Issue #16874 (merge from 3.3): fix some documentation formatting. 2013-01-10 23:04:44 -08:00
Chris Jerdonek
b2b2252a81 Issue #16874 (merge from 3.2): fix some documentation formatting. 2013-01-10 23:03:42 -08:00