Commit graph

68714 commits

Author SHA1 Message Date
Mark Dickinson
0a22924d52 Issue #12965: Clean up C-API docs for PyLong_AsLong(AndOverflow); clarify that __int__ will be called for non-PyLongs 2012-06-23 10:49:12 +01:00
Charles-François Natali
9b0c006eb0 Remove useless test (flowinfo is unsigned). 2012-06-23 10:17:05 +02:00
Charles-François Natali
65dd745fec Remove useless test (flowinfo is unsigned). 2012-06-23 10:06:56 +02:00
Alexander Belopolsky
83ae8beb08 Fixed the name of the 'email.Utils' module in tests. 2012-06-22 10:38:48 -04:00
Alexander Belopolsky
e99d3a160c Issue #14653: email.utils.mktime_tz() no longer relies on system
mktime() when timezone offest is supplied.
2012-06-21 20:57:39 -04:00
Alexander Belopolsky
a07548e97b Issue #14653: email.utils.mktime_tz() no longer relies on system
mktime() when timezone offest is supplied.
2012-06-21 20:34:09 -04:00
Hynek Schlawack
9ed8b4e4ca #10053: Don't close FDs when FileIO.__init__ fails
Loosely based on the work by Hirokazu Yamamoto.
2012-06-21 20:20:25 +02:00
Hynek Schlawack
9bd4bf2a3d #10053: Don't close FDs when FileIO.__init__ fails
Loosely based on the work by Hirokazu Yamamoto.
2012-06-21 19:45:19 +02:00
Nadeem Vawda
103e8113e4 Fix GzipFile's handling of filenames given as bytes objects. 2012-06-20 01:35:22 +02:00
Richard Oudkerk
f29ec4b0c8 Issue #15101: Make pool finalizer avoid joining current thread. 2012-06-18 15:54:57 +01:00
Richard Oudkerk
4215d2738a Issue #15101: Make pool finalizer avoid joining current thread 2012-06-18 15:37:31 +01:00
Petri Lehtinen
da7a6e7da0 Fix NEWS entry for #15036 2012-06-18 10:43:53 +03:00
Petri Lehtinen
48ee6908bc Fix NEWS entry for #15036 2012-06-18 10:42:08 +03:00
R David Murray
3ac8c780f4 Update out of date docstring. 2012-06-17 15:26:35 -04:00
Ezio Melotti
f637920652 #14840: Add a bit on the difference between tuples and lists. Initial patch by Zachary Ware. 2012-06-17 14:10:59 +02:00
Ezio Melotti
f90ea1f0a0 #14840: Add a bit on the difference between tuples and lists. Initial patch by Zachary Ware. 2012-06-17 14:10:59 +02:00
Nick Coghlan
14d99a1491 Ignore X-Antivirus headers in test_nntplib 2012-06-17 21:27:18 +10:00
Nick Coghlan
e6ef462243 Issue #15095: Use better assertions in test_imaplib 2012-06-17 21:10:21 +10:00
Nick Coghlan
a093312871 Issue #15043: skip test_gdb if the custom hooks can't be loaded (backport from 3.x) 2012-06-17 19:03:39 +10:00
Nick Coghlan
be4e4b5691 Issue #15043: skip test_gdb if the custom hooks can't be loaded 2012-06-17 18:57:20 +10:00
Nick Coghlan
970fcef84b Issue #15044: Handle Fedora 17's approach to ndbm compatibility (backport from 3.x) 2012-06-17 18:35:39 +10:00
Nick Coghlan
50f147a9be Issue #15044: Handle Fedora 17's approach to ndbm compatibility 2012-06-17 18:27:11 +10:00
Meador Inge
43f42fc3cb Issue #15054: Fix incorrect tokenization of 'b' and 'br' string literals.
Patch by Serhiy Storchaka.
2012-06-16 21:05:50 -05:00
Petri Lehtinen
02653f1b11 #15036: Make a repeated changes and flushes work with single-file mailboxes 2012-06-15 20:59:31 +03:00
Petri Lehtinen
7cf6699699 #15036: Make a repeated changes and flushes work with single-file mailboxes 2012-06-15 20:50:51 +03:00
Antoine Pitrou
13775221e0 Issue #14933: fix misleading doc about weakref support in extension types. 2012-06-15 19:11:31 +02:00
Antoine Pitrou
5ec84cd69e Issue #14933: fix misleading doc about weakref support in extension types. 2012-06-15 19:11:31 +02:00
Antoine Pitrou
884fb1c831 Skip test_bigmem.test_unicode_repr_oflw, since it crashes (issue #14904). 2012-06-15 18:33:48 +02:00
Martin v. Löwis
993fe3f035 Issue #14937: Fix typo. Patch by Roger Serwy. 2012-06-14 15:37:21 +02:00
Sandro Tosi
27b130e702 Issue #15060: better fix, thanks to review on #python-dev 2012-06-14 00:37:09 +02:00
Sandro Tosi
771d98d694 Issue #15060: better fix, thanks to review on #python-dev 2012-06-14 00:36:54 +02:00
Sandro Tosi
56692f5722 Issue #15060: fix typo in socket doc; Patch by anatoly techtonik 2012-06-13 23:58:54 +02:00
Sandro Tosi
89539e8268 Issue #15060: fix typo in socket doc; Patch by anatoly techtonik 2012-06-13 23:58:35 +02:00
Richard Oudkerk
197651b4e3 Issue #10133: Make multiprocessing deallocate buffer if socket read fails.
Patch by Hallvard B Furuseth.
2012-06-11 15:12:12 +01:00
Richard Oudkerk
926f58df57 Issue #10133: Make multiprocessing deallocate buffer if socket read fails.
Patch by Hallvard B Furuseth.
2012-06-11 15:11:35 +01:00
Raymond Hettinger
0c2c692b84 Minor formatting fix=up 2012-06-09 17:27:23 -07:00
Raymond Hettinger
3395fda928 Wrap fat lines and improve some variable names. 2012-06-09 13:04:29 -07:00
Raymond Hettinger
491f7070f1 Code cleanups 2012-06-08 13:24:12 -07:00
R David Murray
1eda5c9a83 #8652: update errors tutorial.
The tutorial had some outdated examples.  The patch also adds a caution
about the meaning of parens in the except statement.

Patch by Marien Zwart.
2012-06-07 21:46:44 -04:00
Terry Jan Reedy
5525eb77fa NEWS fixes 2012-06-07 19:50:30 -04:00
Terry Jan Reedy
2a2ce4f673 Issue #12510: Revise and triple # of calltip tests, with an eye to unittest
use. Make the get_entity 'method' a module function as it did not use 'self'.
Delete buggy _find_constructor function that is not needed, at least in 3.x.
Revise get_argspec so all tests pass.  Add and fix NEWS entries.
2012-06-07 19:41:04 -04:00
Richard Oudkerk
29471de459 Issue #13854: Properly handle non-integer, non-string arg to SystemExit
Previously multiprocessing only expected int or str.  It also wrongly
used an exit code of 1 when the argument was a string instead of zero.
2012-06-06 19:04:57 +01:00
Richard Oudkerk
e41682b994 Issue #12157: pool.map() does not handle empty iterable correctly
Initial patch by mouad
2012-06-06 19:04:57 +01:00
Nick Coghlan
a3a164a03c Nudge readers towards a more accurate mental model for loop else clauses 2012-06-07 22:41:34 +10:00
Richard Oudkerk
2182e0578c Issue #13854: Properly handle non-integer, non-string arg to SystemExit
Previously multiprocessing only expected int or str.  It also wrongly
used an exit code of 1 when the argument was a string instead of zero.
2012-06-06 19:01:14 +01:00
Richard Oudkerk
d44a4a27a6 Issue #12157: pool.map() does not handle empty iterable correctly
Initial patch by mouad
2012-06-06 17:52:18 +01:00
Nick Coghlan
0a09f3e2c3 Nudge readers towards a more accurate mental model for loop else clauses (Backport from 3.x) 2012-06-07 22:57:35 +10:00
Gregory P. Smith
58f07a9d6d Fixes issue #15000: support the odd x32 abi on posixsubprocess's system call. 2012-06-05 13:26:39 -07:00
Gregory P. Smith
2d7d56abf8 Revert the modification of e.strerror in 3.2 as that kind of change could
break someone's over specified test that depends on the exact error message.
2012-06-03 14:39:26 -07:00
Gregory P. Smith
61ed804cd7 Move the 14992 note to the correct section. 2012-06-03 14:36:01 -07:00