Commit Graph

19475 Commits

Author SHA1 Message Date
Charles-François Natali
39648d11ab test_asyncore: Enable tests of Unix domain sockets with poll(). 2011-10-31 12:08:09 +01:00
Ned Deily
d1029c4853 Issue 13296: Fix IDLE to clear compile __future__ flags on shell restart.
(Patch by Roger Serwy)
2011-10-30 20:05:30 -07:00
Ned Deily
7aff451728 Issue 13296: Fix IDLE to clear compile __future__ flags on shell restart.
(Patch by Roger Serwy)
2011-10-30 20:01:35 -07:00
Florent Xicluna
b6f019a080 Let's assume that the datetime module is always available. 2011-10-30 23:54:17 +01:00
Raymond Hettinger
385c803658 Merge 2011-10-30 14:33:31 -07:00
Raymond Hettinger
e584457e24 Issue 13274: Make the pure python code for heapq more closely match the C implementation for an undefined corner case. 2011-10-30 14:32:54 -07:00
Florent Xicluna
75861df9ab Fix User-Agent for the xmlrpc.client, and catch KeyboardInterrupt for the standalone xmlrpc.server. 2011-10-30 20:39:24 +01:00
Florent Xicluna
f70fd7092d Merge 3.2 2011-10-30 20:24:40 +01:00
Florent Xicluna
93dfee1dfc Issue #13293: Better error message when trying to marshal bytes using xmlrpc.client. 2011-10-30 20:22:25 +01:00
Florent Xicluna
c4fec937dc Cleanup xmlrpc: remove obsolete comments, unused imports. Add test for bytes marshalling. 2011-10-30 20:19:32 +01:00
Florent Xicluna
3fa29f7cd7 Closes #13291: NameError in xmlrpc package. 2011-10-30 20:18:50 +01:00
Charles-François Natali
fea6cb0285 Issue #5661: on EPIPE/ECONNRESET, OS X returns the FD with the POLLPRI flag... 2011-10-29 14:29:39 +02:00
Charles-François Natali
d4621190c9 Issue #5661: Add a test for ECONNRESET/EPIPE handling to test_asyncore. Patch
by Xavier de Gaye.
2011-10-29 12:45:56 +02:00
Ezio Melotti
39be383406 #13289: merge with 3.2. 2011-10-29 10:44:59 +03:00
Ezio Melotti
f78869e47e #13289: fix typo. 2011-10-29 10:41:51 +03:00
Benjamin Peterson
b3b8ba6121 bring is_integer into tested existence 2011-10-28 19:42:48 -04:00
Barry Warsaw
46ae0efce1 - Issue #13218: Fix test_ssl failures on Debian/Ubuntu. 2011-10-28 16:52:17 -04:00
Florent Xicluna
5d1155c08e Closes #13258: Use callable() built-in in the standard library. 2011-10-28 14:45:05 +02:00
Ezio Melotti
f50ffa94ab #13273: fix a bug that prevented HTMLParser to properly detect some tags when strict=False. 2011-10-28 13:21:09 +03:00
Petri Lehtinen
e119c403a1 Issue #10860: Skip the new test if HTTPS is not available 2011-10-26 21:29:15 +03:00
Charles-François Natali
f8859e1808 Issue #10332: multiprocessing: fix a race condition when a Pool is closed
before all tasks have completed.
2011-10-24 18:45:29 +02:00
Benjamin Peterson
29037720d1 merge 3.2 2011-10-28 19:44:00 -04:00
Barry Warsaw
c21a81bf76 - Issue #13218: Fix test_ssl failures on Debian/Ubuntu. 2011-10-28 17:08:12 -04:00
Florent Xicluna
46f5d146c1 Remove no-op code from previous commit. 2011-10-28 21:58:56 +02:00
Florent Xicluna
68f71a34f4 Simplify and remove few dependencies on 'errno', thanks to PEP 3151. 2011-10-28 16:06:23 +02:00
Florent Xicluna
aabbda5354 Merge 3.2 2011-10-28 14:52:29 +02:00
Ezio Melotti
91ec2e8a31 #13273: merge with 3.2. 2011-10-28 13:23:57 +03:00
Antoine Pitrou
41032a69c1 Issue #11183: Add finer-grained exceptions to the ssl module, so that
you don't have to inspect the exception's attributes in the common case.
2011-10-27 23:56:55 +02:00
Benjamin Peterson
2f8dfcd6f4 add a test for an assertion with tuple msg 2011-10-27 08:20:01 -04:00
Victor Stinner
2f3ca9f20e Close #13247: Add cp65001 codec, the Windows UTF-8 (CP_UTF8) 2011-10-27 01:38:56 +02:00
Petri Lehtinen
cc9695643f Issue #10860: Skip the new test if HTTPS is not available 2011-10-26 21:29:54 +03:00
Vinay Sajip
b9e46e95f8 Changed warn() to warning() in logging tests. 2011-10-26 13:17:20 +01:00
Victor Stinner
8b905bd9d4 Issue #13226: Add RTLD_xxx constants to the os module. These constants can by
used with sys.setdlopenflags().
2011-10-25 13:34:04 +02:00
Victor Stinner
e0be423297 Close #10278: Add clock_getres(), clock_gettime() and CLOCK_xxx constants to
the time module. time.clock_gettime(time.CLOCK_MONOTONIC) provides a monotonic
clock
2011-10-25 13:06:09 +02:00
Ezio Melotti
90bf5f1171 Remove mention of narrow/wide builds and update array doc, add a test. 2011-10-25 10:05:34 +03:00
Charles-François Natali
feeb3a366c Issue #10332: multiprocessing: fix a race condition when a Pool is closed
before all tasks have completed.
2011-10-24 18:47:43 +02:00
Mark Dickinson
39411f60a2 Issue #13248, issue #8540: Remove deprecated Context._clamp attribute from Decimal module. 2011-10-24 10:31:52 +01:00
Antoine Pitrou
24d659daaf Use InterruptedError instead of checking for EINTR 2011-10-23 23:49:42 +02:00
Florent Xicluna
2bb96f593a Cleanup code: remove int/long idioms and simplify a while statement. 2011-10-23 22:11:00 +02:00
Mark Dickinson
30970e9e44 Issue #10925: Add equivalent pure Python code for the builtin int-to-float conversion to test_long. 2011-10-23 20:07:13 +01:00
Mark Dickinson
36645681c8 Issue #13201: equality for range objects is now based on equality of the underlying sequences. Thanks Sven Marnach for the patch. 2011-10-23 19:53:01 +01:00
Nick Coghlan
9715d26305 Merge issue 1294232 patch from 3.2 2011-10-23 22:36:42 +10:00
Nick Coghlan
de31b191e5 Issue 1294232: Fix errors in metaclass calculation affecting some cases of metaclass inheritance. Patch by Daniel Urban. 2011-10-23 22:04:16 +10:00
Vinay Sajip
0a889534e7 Closes #13235: Changed PendingDeprecationWarning to DeprecationWarning. 2011-10-22 13:34:48 +01:00
Ezio Melotti
931b8aac80 #12753: Add support for Unicode name aliases and named sequences. 2011-10-21 21:57:36 +03:00
Éric Araujo
3764a964ca Banch merge 2011-10-21 15:52:10 +02:00
Vinay Sajip
04d5bc00a2 Closes #13235: Added deprecation for warn() methods and function in logging. 2011-10-21 07:33:42 +01:00
Éric Araujo
89d3a69d83 Add tests for packaging.tests.support (#12659).
Thanks to Francisco Martín Brugué for the patch.
2011-10-21 07:56:32 +02:00
Éric Araujo
f89ebdc358 Fix missing imports in setup scripts generated by packaging (#13205).
I’ve made more edits than the bug report suggested to make sure the
generated setup script is compatible with many Python versions; a
comment in the source explains that in detail.

The cfg_to_args function uses old 2.x idioms like codecs.open and
RawConfigParser.readfp because I want the setup.py generated by packaging and
distutils2 to be the same.  Most users won’t see the deprecation warning and I
ignore it in the test suite.

Thanks to David Barnett for the report and original patch.
2011-10-21 06:27:06 +02:00
Antoine Pitrou
ac65d96777 Issue #12170: The count(), find(), rfind(), index() and rindex() methods
of bytes and bytearray objects now accept an integer between 0 and 255
as their first argument.  Patch by Petri Lehtinen.
2011-10-20 23:54:17 +02:00