Sandro Tosi
32ac92cd4a
Issue #13605 : merge with 3.2
2012-02-19 19:54:23 +01:00
Sandro Tosi
0467686e07
Issue #13605 : use print() in argparse nargs example
2012-02-19 19:54:00 +01:00
Benjamin Peterson
b900d6a78c
initialize __dict__ if needed
2012-02-19 10:17:30 -05:00
Sandro Tosi
488a56d2fb
merge with 3.2
2012-02-19 12:30:47 +01:00
Sandro Tosi
f06d444f5a
don't split 'Hye-Shik Chang' name; thanks to Sergey from docs@
2012-02-19 12:30:28 +01:00
Sandro Tosi
1ee86a1515
merge with 3.2
2012-02-19 12:28:18 +01:00
Sandro Tosi
76dea27421
Indent 'File' in memoryview example, so it is correctly highlighted
2012-02-19 12:28:01 +01:00
Benjamin Peterson
2cf936fe7a
use defaults
2012-02-19 01:16:13 -05:00
Benjamin Peterson
84e821e961
merge 3.2
2012-02-19 01:14:21 -05:00
Benjamin Peterson
496c53d83e
use Py_CLEAR
2012-02-19 01:11:56 -05:00
Benjamin Peterson
01d7eba316
allow arbitrary attributes on classmethod and staticmethod ( closes #14051 )
2012-02-19 01:10:25 -05:00
Jesus Cea
dc1d3eda1f
MERGE: Test for issue #13500
2012-02-19 03:54:59 +01:00
Jesus Cea
fbc6f943e0
Test for issue #13500
2012-02-19 03:54:29 +01:00
Jesus Cea
14ed7f23c2
Test for issue #13500
2012-02-19 03:52:23 +01:00
Sandro Tosi
b5d271073f
merge with 3.2
2012-02-18 16:06:39 +01:00
Sandro Tosi
c33ae06cbf
fix error in memoryview example; thanks to kan lianlian from docs@
2012-02-18 16:05:34 +01:00
Charles-François Natali
3ccc918b4a
Issue #14001 : CVE-2012-0845: xmlrpc: Fix an endless loop in SimpleXMLRPCServer
...
upon malformed POST request.
2012-02-18 15:02:10 +01:00
Charles-François Natali
cd96b4f1ff
Issue #14001 : CVE-2012-0845: xmlrpc: Fix an endless loop in SimpleXMLRPCServer
...
upon malformed POST request.
2012-02-18 14:53:41 +01:00
Charles-François Natali
ec1712a166
Issue #14001 : CVE-2012-0845: xmlrpc: Fix an endless loop in SimpleXMLRPCServer
...
upon malformed POST request.
2012-02-18 14:42:57 +01:00
Terry Jan Reedy
93abdd1ab8
Merge with 3.2 closes 14023
2012-02-17 19:58:41 -05:00
Terry Jan Reedy
ead1de2f03
Issue 14023 Revert edit to 2.7 version. (I suspect edit is from when we thought
...
to to makes bytes mutable, before deciding to add bytearrays.)
2012-02-17 19:56:58 -05:00
Ezio Melotti
c48cfe37d2
#14020 : merge with 3.2.
2012-02-18 02:03:35 +02:00
Ezio Melotti
4279bc7aef
#14020 : improve HTMLParser documentation.
2012-02-18 02:01:36 +02:00
Petri Lehtinen
aa2c670ee6
Merge branch '3.2'
...
Closes #11689 .
2012-02-17 21:36:52 +02:00
Petri Lehtinen
c86d9e2846
Fix a variable scoping error in an sqlite3 test
...
Closes #11689 .
2012-02-17 21:31:02 +02:00
Antoine Pitrou
a9bf2ac726
Try to really fix compilation failures of the _ssl module under very old OpenSSLs.
2012-02-17 18:47:54 +01:00
Éric Araujo
f1fd388c77
Branch merge
2012-02-17 18:10:11 +01:00
Éric Araujo
2180ee641c
Fix code I unwittingly broke in b0e2d6592a1f ( #14038 )
2012-02-17 17:26:30 +01:00
Brett Cannon
082f177c67
Fix importlib.test.__main__ to only worry about command-line flags when directly executed.
2012-02-17 10:44:24 -05:00
Brett Cannon
f2e86751cc
Optimize importlib's case-sensitivity check by wasting as little time as possible under case-sensitive OSs.
2012-02-17 09:46:48 -05:00
Brett Cannon
1f14bebe3c
Have importlib.test use argparse instead of some hacked up solution.
2012-02-17 09:37:39 -05:00
Brett Cannon
ba17fe256e
Have importlib use os.replace() for atomic renaming.
...
Closes issue #13961 . Thanks to Charles-François Natali for the patch.
2012-02-17 09:26:53 -05:00
Nick Coghlan
4fcad3c7ab
Change the python3 hardlink to a symlink, and correct some misuse of the PYTHON var in the makefile
2012-02-17 23:17:34 +10:00
Antoine Pitrou
e9fccb360f
Fix compilation when SSL_OP_SINGLE_ECDH_USE isn't defined
2012-02-17 11:53:10 +01:00
Brett Cannon
f58d45c649
Tweak the handling of the empty string in sys.path for importlib.
...
It seems better to cache the finder for the cwd under its full path
insetad of '' in case the cwd changes. Otherwise FileFinder needs to
dynamically change itself based on whether it is given '' instead of
caching a finder for every change to the cwd.
2012-02-16 18:12:00 -05:00
Brett Cannon
22e7c88057
Merge
2012-02-16 18:03:47 -05:00
Brett Cannon
3b1a06c1ea
importlib.__import__() now raises ValueError when level < 0.
...
This is to bring it more in line with what PEP 328 set out to do with
removing ambiguous absolute/relative import semantics.
2012-02-16 17:47:48 -05:00
Florent Xicluna
1639505c38
fix the _namespace_map cleanup for cElementTree tests.
2012-02-16 23:28:35 +01:00
Florent Xicluna
e59a306081
The C accelerator was not always imported for cElementTree's tests. (there's still an issue with --huntrleaks switch)
2012-02-16 23:17:31 +01:00
Petri Lehtinen
17f1be6368
Merge branch '3.2'
...
Closes #13995 .
2012-02-16 21:44:26 +02:00
Petri Lehtinen
b3890226b3
sqlite3: Fix documentation errors concerning Cursor.rowcount
...
Closes #13995 .
2012-02-16 21:39:03 +02:00
Charles-François Natali
8e3926a810
Merge.
2012-02-16 19:54:48 +01:00
Charles-François Natali
4a72ebe34b
Issue #13878 : Fix random test_sched failures.
2012-02-16 19:51:45 +01:00
Charles-François Natali
f670ca5e70
Issue #13878 : Fix random test_sched failures.
2012-02-16 19:49:48 +01:00
Brett Cannon
7fab676e87
Refactor importlib.__import__() and _gcd_import() to facilitate using
...
an __import__ implementation that takes care of basics in C and punts
to importlib for more complicated code.
2012-02-16 13:43:41 -05:00
Éric Araujo
e8c5fdba30
Add test for packaging.util.set_platform ( #13974 ).
...
Patch by Tshepang Lekhonkhobe.
2012-02-16 19:32:17 +01:00
Eli Bendersky
292f9a891d
make TestAccelerator[Not]Imported for ElementTree more robust
2012-02-16 19:55:29 +02:00
Eli Bendersky
66e6f8e525
Disabling a test that fails on some bots. Will investigate the failure soon
2012-02-16 18:08:44 +02:00
Gregory P. Smith
18aec4ce89
merge.
2012-02-16 00:36:04 -08:00
Gregory P. Smith
5b791fb548
Issue #2489 : Fix bug in _copy loop that could consume 100% cpu on EOF.
2012-02-16 00:35:43 -08:00