Commit graph

78877 commits

Author SHA1 Message Date
Stefan Krah
8fba5365d5 Merge. 2012-12-21 23:27:13 +01:00
Stefan Krah
f31b603558 Merge 3.3. 2012-12-21 23:23:25 +01:00
Stefan Krah
fb7f580e81 Issue #16745: Hide a couple of symbols by making them local. 2012-12-21 23:11:05 +01:00
Mark Dickinson
4cd60175f1 Simplify random_seed to use _PyLong_AsByteArray. Closes issue #16496. 2012-12-21 21:52:49 +00:00
Kristjan Valur Jonsson
1724bb196a Merge with 3.3 : Don't DECREF the ctypes error_object without the GIL held. 2012-12-21 11:23:23 +00:00
Kristjan Valur Jonsson
c51bafbbda Merge with 3.2 : Don't DECREF the ctypes error_object without the GIL held. 2012-12-21 11:22:29 +00:00
Kristjan Valur Jonsson
3cbdaa3fee Merge with 3.1 : Don't DECREF the ctypes error_object without the GIL held. 2012-12-21 11:20:53 +00:00
Kristjan Valur Jonsson
ed512a4d09 ctypes: DECREF error_object _after_ re-acquiring GIL 2012-12-21 10:32:57 +00:00
Kristjan Valur Jonsson
9946bd69fa Don't DECREF the ctypes error_object without the GIL held. 2012-12-21 09:41:25 +00:00
Benjamin Peterson
301162b43d merge 3.3 (closes #16687) 2012-12-20 20:25:00 -06:00
Benjamin Peterson
9cb7bd2df4 link to GIL as a term
Patch from Jeff Knupp.
2012-12-20 20:24:37 -06:00
Benjamin Peterson
bd584d559b fix typo (#16687)
Patch from Jeff Knupp.
2012-12-20 20:22:47 -06:00
Petri Lehtinen
ab7dd183f3 #8853: Allow port to be of type long for socket.getaddrinfo() 2012-12-20 21:09:56 +02:00
Benjamin Peterson
92014420d7 add news note (#16597) 2012-12-20 12:55:52 -06:00
Benjamin Peterson
302c65443e merge 3.3 (#16597) 2012-12-20 12:55:15 -06:00
Benjamin Peterson
3d3daf0b7f improve message (#16597) 2012-12-20 12:54:59 -06:00
Benjamin Peterson
a2d6d7121e call close on the underlying stream even if flush raises (#16597) 2012-12-20 12:24:10 -06:00
Benjamin Peterson
4c05969fc4 merge 3.3 (#16597) 2012-12-20 11:55:16 -06:00
Benjamin Peterson
68623614f0 call close on the underlying stream even if flush raises (closes #16597)
Patch by Serhiy Storchaka.
2012-12-20 11:53:11 -06:00
Benjamin Peterson
7643c92cdd merge 3.3 (#16722) 2012-12-19 15:28:46 -06:00
Benjamin Peterson
5ff3f73d94 try to call __bytes__ before __index__ (closes #16722) 2012-12-19 15:27:41 -06:00
Benjamin Peterson
af5e29a769 merge heads 2012-12-19 15:17:43 -06:00
Benjamin Peterson
fc8f5c5e0f update importlib.h 2012-12-19 15:16:51 -06:00
Andrew Svetlov
fd43b4d3e4 replace threw with raised (#16714) 2012-12-19 22:55:40 +02:00
Andrew Svetlov
1f415cf2c2 replace threw with raised (#16714) 2012-12-19 22:54:47 +02:00
Andrew Svetlov
7bd61cbc03 replace threw with raised (#16714) 2012-12-19 22:49:25 +02:00
Andrew Svetlov
bacf1bf355 replace threw with raised (#16714) 2012-12-19 22:49:01 +02:00
Andrew Svetlov
bd644608bd revert comment wording (#16714) 2012-12-19 22:47:05 +02:00
Antoine Pitrou
aa03a1fe2a Small cleanup in test_ftplib 2012-12-19 20:44:37 +01:00
Antoine Pitrou
08d02724df Small cleanup in test_ftplib 2012-12-19 20:44:02 +01:00
Andrew Svetlov
2606a6f197 Issue #16719: Get rid of WindowsError. Use OSError instead
Patch by Serhiy Storchaka.
2012-12-19 14:33:35 +02:00
Andrew Svetlov
8a045cb93b Add versionchanged tag to faq (useless btw because changed text is commented out) 2012-12-19 13:45:30 +02:00
Antoine Pitrou
f23e3f7ad2 Silence sporadic failure in RecvmsgIntoSCTPStreamTest.testRecvmsgEOF (issue #13876) - probably not Python-related. 2012-12-18 23:44:59 +01:00
Antoine Pitrou
d5a070f586 Silence sporadic failure in RecvmsgIntoSCTPStreamTest.testRecvmsgEOF (issue #13876) - probably not Python-related. 2012-12-18 23:44:36 +01:00
Antoine Pitrou
dcac718236 Call importlib.invalidate_caches() after creating module files in test_threaded_import. 2012-12-18 23:28:24 +01:00
Antoine Pitrou
07edb82e4b Call importlib.invalidate_caches() after creating module files in test_threaded_import. 2012-12-18 23:28:04 +01:00
Antoine Pitrou
1688812894 Try to make test_threaded_import faster and safer (issue #15599). 2012-12-18 23:04:10 +01:00
Antoine Pitrou
e0b1c23145 Try to make test_threaded_import faster and safer (issue #15599). 2012-12-18 23:03:42 +01:00
Antoine Pitrou
ad8c461e2c Add sanity assertions in some import lock code (issue #15599). 2012-12-18 22:18:58 +01:00
Antoine Pitrou
202b60640b Add sanity assertions in some import lock code (issue #15599). 2012-12-18 22:18:17 +01:00
Andrew Svetlov
5f11a00056 Mention OSError instead of IOError in the docs. 2012-12-18 23:16:44 +02:00
Andrew Svetlov
0832af6628 Issue #16717: get rid of socket.error, replace with OSError 2012-12-18 23:10:48 +02:00
Andrew Svetlov
ad28c7f9da Issue #16706: get rid of os.error 2012-12-18 22:02:39 +02:00
Andrew Svetlov
4bb142b1b7 Issue #16714: use 'raise' exceptions, don't 'throw'.
Patch by Serhiy Storchaka.
2012-12-18 21:27:37 +02:00
Andrew Svetlov
a191959849 Issue #16714: use 'raise' exceptions, don't 'throw'.
Patch by Serhiy Storchaka.
2012-12-18 21:27:16 +02:00
Andrew Svetlov
5b89840d9c Issue #16714: use 'raise' exceptions, don't 'throw'.
Patch by Serhiy Storchaka.
2012-12-18 21:26:36 +02:00
Andrew Svetlov
737fb89dd1 Issue #16714: use 'raise' exceptions, don't 'throw'.
Patch by Serhiy Storchaka.
2012-12-18 21:14:22 +02:00
Antoine Pitrou
f61dc4cea2 Relax test when WITH_PYMALLOC is false or undefined. 2012-12-18 19:50:58 +01:00
Andrew Svetlov
a9466c6530 Issue #16711: Fix required method names for collections.Iterator
Thanks to Inada Naoki
2012-12-18 15:53:39 +02:00
Andrew Svetlov
e2303f8970 Issue #16711: Fix required method names for collections.Iterator
Thanks to Inada Naoki
2012-12-18 15:53:15 +02:00