Commit graph

76817 commits

Author SHA1 Message Date
Andrew Svetlov
cddcafaf6b Issue #16045: add more unit tests for built-in int()
Patch by Chris Jerdonek.
2012-12-23 12:44:04 +02:00
Brett Cannon
73b969ec70 Issue #16752: Add a missing import to modulefinder.
Also fix Misc/ACKS to put part of it back in alphabetical order and
remove some duplicate names.

Patch by Berker Peksag.
2012-12-22 19:34:21 -05:00
Stefan Krah
f03eee12b4 Issue #16745: The gcc visibility pragma is buggy on OpenIndiana and NetBSD. 2012-12-22 23:05:51 +01:00
Stefan Krah
66a6f3fa81 Fix Visual Studio build. 2012-12-22 14:46:44 +01:00
Stefan Krah
fdf1a34ba1 Issue #16745: Hide symbols in _decimal.so. 2012-12-22 14:18:35 +01:00
Georg Brandl
8e1e8165a3 Add missing label. 2012-12-22 10:44:11 +01:00
Georg Brandl
9a772e5e8f Fix indentation. 2012-12-22 10:43:06 +01:00
Stefan Krah
fb7f580e81 Issue #16745: Hide a couple of symbols by making them local. 2012-12-21 23:11:05 +01: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
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
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
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
5ff3f73d94 try to call __bytes__ before __index__ (closes #16722) 2012-12-19 15:27:41 -06: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
08d02724df Small cleanup in test_ftplib 2012-12-19 20:44:02 +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
07edb82e4b Call importlib.invalidate_caches() after creating module files in test_threaded_import. 2012-12-18 23:28:04 +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
202b60640b Add sanity assertions in some import lock code (issue #15599). 2012-12-18 22:18:17 +01: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
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
Andrew Svetlov
e2303f8970 Issue #16711: Fix required method names for collections.Iterator
Thanks to Inada Naoki
2012-12-18 15:53:15 +02:00
Andrew Svetlov
4001e96179 Issue #16711: Fix required method names for collections.Iterator
Thanks to Inada Naoki
2012-12-18 15:48:10 +02:00
Giampaolo Rodola'
b6375a2d91 Issue 16646 (ftplib): deliberately use intermediate variable after catching exception 2012-12-17 20:46:29 +01:00
Giampaolo Rodola'
57f3487994 Issue 16646 (ftplib): deliberately use intermediate variable after catching exception 2012-12-17 20:46:16 +01:00
Andrew Svetlov
80ab6c53c6 merge heads 2012-12-17 19:07:57 +02:00
Andrew Svetlov
ed3f6c6c79 Issue #16647: save socket error details in LMTP.connect()
Patch by Serhiy Storchaka.
2012-12-17 19:06:43 +02:00
Andrew Svetlov
3b69824de9 Issue #16647: save socket error details in LMTP.connect()
Patch by Serhiy Storchaka.
2012-12-17 18:55:10 +02:00
Andrew Svetlov
b6693c4604 Issue #16647: save socket error details in LMTP.connect()
Patch by Serhiy Storchaka.
2012-12-17 18:54:53 +02:00
Giampaolo Rodola'
c2a8169aa3 Fix issue #16646: ftplib.FTP.makeport() might lose socket error details. (patch by Serhiy Storchaka) 2012-12-17 14:30:48 +01:00
Giampaolo Rodola'
896cb15d0c Fix issue #16646: ftplib.FTP.makeport() might lose socket error details. (patch by Serhiy Storchaka) 2012-12-17 14:22:19 +01:00
Giampaolo Rodola'
fc3278802c Fix issue #16646: ftplib.FTP.makeport() might lose socket error details. (patch by Serhiy Storchaka) 2012-12-17 14:20:27 +01:00
Andrew Svetlov
7c42398f3b Update example: Counter.subtract returns None, not self 2012-12-17 14:01:29 +02:00
Andrew Svetlov
f635172c72 Update example: Counter.subtract returns None, not self 2012-12-17 14:01:16 +02:00
Andrew Svetlov
78efadb86f Update example: Counter.subtract returns None, not self 2012-12-17 14:01:03 +02:00
Andrew Svetlov
2be0edb2c4 Fix typo 2012-12-17 13:42:40 +02:00
Andrew Svetlov
dfe109e33f Fix typo 2012-12-17 13:42:04 +02:00
Brian Curtin
bc453ca81d Fix #14901. Update some sections of Windows FAQ.
Patch by Ashish Nitin Patil.
2012-12-17 00:17:49 -06:00
Brian Curtin
08133c2e8e Merge 3.2 2012-12-17 00:04:30 -06:00