Commit graph

24500 commits

Author SHA1 Message Date
R David Murray
8093d6f822 Merge: #17431: Fix missing import of BytesFeedParser in email.parser. 2013-03-15 20:42:29 -04:00
Senthil Kumaran
2688644eef #1291 http.server's send_error takes an optional explain argument 2013-03-15 07:53:21 -07:00
Brett Cannon
327992330e Issue #17099: Have importlib.find_loader() raise ValueError when
__loader__ is not set on a module. This brings the exception in line
with when __loader__ is None (which is equivalent to not having the
attribute defined).
2013-03-13 11:09:08 -07:00
Brett Cannon
8c457d26b1 Normalize whitespace 2013-03-13 10:45:33 -07:00
Brett Cannon
4802becb16 Issue #17117: Have both import itself and importlib.util.set_loader()
set __loader__ on a module when set to None.

Thanks to Gökcen Eraslan for the fix.
2013-03-13 10:41:36 -07:00
Ezio Melotti
405952f1a8 #17368: merge with 3.3. 2013-03-13 01:55:07 +02:00
Ezio Melotti
220391fa6e #17368: merge with 3.2. 2013-03-13 01:53:38 +02:00
Ezio Melotti
a7d64a6f4c #17368: Fix an off-by-one error in the Python JSON decoder that caused a failure while decoding empty object literals when object_pairs_hook was specified. 2013-03-13 01:52:34 +02:00
Ezio Melotti
0ce306abf3 #17066: merge with 3.3. 2013-03-12 07:50:53 +02:00
Ezio Melotti
0fb37ea34d #17066: test_robotparser now works with unittest test discovery. Patch by Zachary Ware. 2013-03-12 07:49:12 +02:00
Terry Jan Reedy
8b53559a89 Merge with 3.3, issue #17047: remove doubled words added in 3.3,
as reported by Serhiy Storchaka and Matthew Barnett.
2013-03-11 18:36:38 -04:00
Terry Jan Reedy
0f84764a09 Issue #17047: remove doubled words added in 3.3
as reported by Serhiy Storchaka and Matthew Barnett.
2013-03-11 18:34:00 -04:00
Terry Jan Reedy
16b5c13668 Merge 3.3, issue #17047: remove doubled words found in 2.7 to
3.4 Lib/*, as reported by Serhiy Storchaka and Matthew Barnett.
2013-03-11 17:59:07 -04:00
Terry Jan Reedy
98472b8396 Merge 3.2, issue #17047: remove doubled words found in 2.7 to
3.4 Lib/*, as reported by Serhiy Storchaka and Matthew Barnett.
2013-03-11 17:58:27 -04:00
Terry Jan Reedy
c30b7b16ea Issue #17047: remove doubled words found in 2.7 to 3.4 Lib/*,
as reported by Serhiy Storchaka and Matthew Barnett.
2013-03-11 17:57:08 -04:00
Ezio Melotti
dc6763b567 #17395: wait for live children in test_multiprocessing. 2013-03-11 21:39:18 +02:00
Ezio Melotti
05cd03aa0d Remove debug print. 2013-03-11 08:57:17 +02:00
Raymond Hettinger
e318a883fe Issue #15806: Add contextlib.ignored(). 2013-03-10 22:26:51 -07:00
Ezio Melotti
c0417357d1 #11963: merge with 3.3. 2013-03-11 06:03:05 +02:00
Ezio Melotti
3300878d8c #11963: merge with 3.2. 2013-03-11 05:59:55 +02:00
Ezio Melotti
42a541bd49 #11963: remove human verification from test_parser and test_subprocess. 2013-03-11 05:53:34 +02:00
Ezio Melotti
081a55b090 #11963: merge with 3.3. 2013-03-10 03:29:55 +02:00
Ezio Melotti
a51be4c136 #11963: merge with 3.2. 2013-03-10 03:27:26 +02:00
Ezio Melotti
e7c329954c #11963: fix Windows buildbots. 2013-03-10 03:25:45 +02:00
Ezio Melotti
492390333e #11963: merge with 3.3. 2013-03-09 22:21:32 +02:00
Ezio Melotti
0d7333e0ef #11963: merge with 3.2. 2013-03-09 22:20:23 +02:00
Ezio Melotti
3919184014 #11963: avoid printing messages in test_parser. Initial patch by Éric Araujo. 2013-03-09 22:17:33 +02:00
Vinay Sajip
becf5c6deb Issue #17384: Consolidated cleanup operations in tests. 2013-03-08 09:50:57 +00:00
Victor Stinner
763edc1c6a (Merge 3.3) Issue #17223: the test is specific to 32-bit wchar_t type
Skip the test on Windows.
2013-03-08 02:33:44 +01:00
Victor Stinner
29c0034ff9 Issue #17223: the test is specific to 32-bit wchar_t type
Skip the test on Windows.
2013-03-08 02:33:06 +01:00
R David Murray
857b24b0d5 Merge: PEP8 fixup on previous patch, remove unused imports in test_email. 2013-03-07 18:17:19 -05:00
R David Murray
965794ed58 Merge: PEP8 fixup on previous patch, remove unused imports in test_email. 2013-03-07 18:16:47 -05:00
R David Murray
2e78cd9b5e Merge: #14645: Generator now emits correct linesep for all parts.
Previously the parts of the message retained whatever linesep they had on
read, which means if the messages weren't read in univeral newline mode, the
line endings could well be inconsistent.  In general sending it via smtplib
would result in them getting fixed, but it is better to generate them
correctly to begin with.  Also, the new send_message method of smtplib does
not do the fixup, so that method is producing rfc-invalid output without this
fix.
2013-03-07 17:31:21 -05:00
R David Murray
addb0be63e Merge: #14645: Generator now emits correct linesep for all parts.
Previously the parts of the message retained whatever linesep they had on
read, which means if the messages weren't read in univeral newline mode, the
line endings could well be inconsistent.  In general sending it via smtplib
would result in them getting fixed, but it is better to generate them
correctly to begin with.  Also, the new send_message method of smtplib does
not do the fixup, so that method is producing rfc-invalid output without this
fix.
2013-03-07 16:43:58 -05:00
Ezio Melotti
1f38621a33 #11732: add a new suppress_crash_popup() context manager to test.support that disables crash popups on Windows and use it in test_ctypes. 2013-03-07 18:44:29 +02:00
Ezio Melotti
1181a46e09 #11732: merge with 3.3. 2013-03-07 18:38:45 +02:00
Ezio Melotti
e846342f8a #11732: make suppress_crash_popup() work on Windows XP and Windows Server 2003. 2013-03-07 18:37:13 +02:00
Ezio Melotti
87a249c119 #11732: merge with 3.3. 2013-03-05 20:33:38 +02:00
Ezio Melotti
e1857d999d Fix indentation. 2013-03-05 20:31:34 +02:00
Ezio Melotti
25a404520d #11732: add a new suppress_crash_popup() context manager to test.support. 2013-03-05 20:26:17 +02:00
Antoine Pitrou
221760a3aa Issue #17278: Fix a crash in heapq.heappush() and heapq.heappop() when the list is being resized concurrently. 2013-03-04 20:35:55 +01:00
Antoine Pitrou
31584e30ab Issue #17278: Fix a crash in heapq.heappush() and heapq.heappop() when the list is being resized concurrently. 2013-03-04 20:33:36 +01:00
Antoine Pitrou
44d5214927 Issue #17278: Fix a crash in heapq.heappush() and heapq.heappop() when the list is being resized concurrently. 2013-03-04 20:30:01 +01:00
Ezio Melotti
63f40d7af4 #17346: merge with 3.3. 2013-03-04 15:21:14 +02:00
Ezio Melotti
296069301a #17346: merge with 3.2. 2013-03-04 15:19:02 +02:00
Ezio Melotti
aaef34483c #17346: make sure pickle tests are run against all protocols. Initial patch by Marius Gedminas. 2013-03-04 15:17:56 +02:00
Raymond Hettinger
6c2078d545 merge 2013-03-04 02:58:40 -05:00
Raymond Hettinger
0392342673 Add test for RLock in the lru_cache(). 2013-03-04 02:52:50 -05:00
Nadeem Vawda
6386e17f39 Issue #13898: test_ssl no longer prints a spurious stack trace on Ubuntu. 2013-03-03 22:48:15 +01:00
Nadeem Vawda
ad246bfb71 Issue #13898: test_ssl no longer prints a spurious stack trace on Ubuntu. 2013-03-03 22:44:22 +01:00