Commit Graph

47890 Commits

Author SHA1 Message Date
R David Murray b9a428d57d #9557: eliminate 3 seconds of static overhead from test_mailbox.
This patch doesn't quite fix the 'run in a VM with Samba share'
timing problem, but it should at least make it better.
2011-03-25 16:03:47 -04:00
Raymond Hettinger df07aacebb Issue #11071: Fix whatsnew description of O/S access to raw bytes. 2011-03-25 12:41:07 -07:00
Éric Araujo 4dcf50250c Use universal construct os.path.expanduser('~') instead of os.environ['HOME'] 2011-03-25 20:31:50 +01:00
R David Murray 041015cc70 #11584: Since __getitem__ returns headers, make decode_header handle them.
Why I consider this a bug rather than an API change: the API change was
to Message, which didn't used to return Headers unless you added them
yourself.  Now it does (for 8bit binary header input), so decode_header
needs to be able to handle them.
2011-03-25 15:10:55 -04:00
Ezio Melotti 213eb96902 #2650: Merge with 3.1. 2011-03-25 14:25:36 +02:00
Ezio Melotti ebbf1e67a8 #2650: Refactor re.escape to use enumerate(). 2011-03-25 14:19:30 +02:00
Ezio Melotti 7b9e97b487 #2650: Add tests with non-ascii chars for re.escape. 2011-03-25 14:09:33 +02:00
Ezio Melotti d2114ebd97 #2650: Refactor the tests for re.escape. 2011-03-25 14:08:44 +02:00
Kurt B. Kaiser 32a95a70c9 Merge from 3.1 again 2011-03-25 00:30:40 -04:00
Kurt B. Kaiser 439dfffaf3 Merge 3.2 heads 2011-03-25 00:22:09 -04:00
Kurt B. Kaiser 5cf7878fda Merge 3.1 2011-03-24 13:19:35 -04:00
R David Murray c7d28be62f Merge #11606: improved body_encode algorithm, no longer produces overlong lines 2011-03-24 12:27:23 -04:00
R David Murray b938c8c253 #11606: improved body_encode algorithm, no longer produces overlong lines
Algorithm and initial patch by Michael Henry.
2011-03-24 12:19:26 -04:00
Kurt B. Kaiser f9439914c8 Merge 3.1 2011-03-24 12:03:36 -04:00
Victor Stinner 900189b414 Merge 3.1 2011-03-24 16:39:07 +01:00
Victor Stinner 29943aa120 test_multiprocessing: use assertLess() to see the timeout on error 2011-03-24 16:24:07 +01:00
Antoine Pitrou aebac0b55a Add tests for the atexit hook in concurrent.futures (part of #11635) 2011-03-24 15:47:39 +01:00
Senthil Kumaran 2024acd36f issue10883 - Silence some ftp related ResourceWarnings in test_urllib2net. Patch by Nadeem Vawda. 2011-03-24 11:46:19 +08:00
Antoine Pitrou e44b1258ea Add NEWS entry for 9aa6097131ef 2011-03-23 23:02:31 +01:00
Antoine Pitrou 293954dd76 Issue #11653: fix -W with -j in regrtest 2011-03-23 23:01:49 +01:00
R David Murray 523b41c4b3 Merge #11590: fix quoprimime decode handling of empty strings and line endings. 2011-03-23 15:27:04 -04:00
R David Murray cafd79d904 #11590: fix quoprimime decode handling of empty strings and line endings. 2011-03-23 15:25:55 -04:00
R David Murray 3d9e973abd Merge #11589: add additional tests for the email quoprimime module. 2011-03-23 14:27:18 -04:00
R David Murray ec1b5b88ee #11589: add additional tests for the email quoprimime module.
Patch by Michael Henry.
2011-03-23 14:19:05 -04:00
Éric Araujo bd626d4e84 Branch merge 2011-03-23 04:52:08 +01:00
Éric Araujo bbcfc1f2d9 Merge from 3.1.
The fix was already committed to 3.2, but I merged two small changes
recommended by Raymond while I was working on the 2.7 patch to ease
future merges.
2011-03-23 03:43:22 +01:00
Antoine Pitrou 924cbea467 Use transient_internet() consistently in test_imaplib 2011-03-23 03:10:14 +01:00
Éric Araujo 48049911d6 Fix obscure set crashers (#8420). Backport of d56b3cafb1e6, reviewed by Raymond. 2011-03-23 02:08:07 +01:00
Raymond Hettinger b1aef23316 Issue #10610: Document that int(), float(), and complex() accept numeric literals with the Nd property. 2011-03-22 17:33:53 -07:00
Raymond Hettinger c706dbfa67 Issue #10610: Document that int(), float(), and complex() accept numeric literals with the Nd property. 2011-03-22 17:33:17 -07:00
Raymond Hettinger 2052978e9a Issue #10771: Clarify that descriptors get used in an *owner* class or one of its parents. 2011-03-22 16:27:31 -07:00
Raymond Hettinger 3b654be1a4 Issue #10771: Clarify that descriptors get used in an *owner* class or one of its parents. 2011-03-22 16:27:02 -07:00
Kurt B. Kaiser 01ac8cdc13 Merge from 3.1 2011-03-22 19:26:46 -04:00
Raymond Hettinger 27f870982f Issue 10787: Document the probability density function for random.gammavariate. 2011-03-22 15:56:41 -07:00
Raymond Hettinger a8e4d6eb6e Issue 10787: Document the probability density function for random.gammavariate. 2011-03-22 15:55:51 -07:00
Raymond Hettinger f047164f64 Issue 10988: fix description of super's descriptor call. 2011-03-22 15:33:02 -07:00
Raymond Hettinger b199b2262c Issue 10988: fix description of super's descriptor call. 2011-03-22 15:28:45 -07:00
Antoine Pitrou 8e5e942c59 Use shorter timings in test_concurrent_futures to make it a bit faster
(it's still very slow)
2011-03-22 18:30:30 +01:00
Raymond Hettinger 608aba301e Issue #11625: Fix Typo 2011-03-22 09:12:18 -07:00
Raymond Hettinger e5820c6b5d Issue #11625: Fix Typo 2011-03-22 09:11:39 -07:00
Raymond Hettinger a0d1d96771 Issue #11628: cmp_to_key should use __slots__. 2011-03-21 17:50:28 -07:00
Antoine Pitrou 779a5b0b3a Always print out the traceback when a test "crashed" 2011-03-21 19:55:16 +01:00
Antoine Pitrou 46719af05a Try to make test_import a bit more robust 2011-03-21 19:05:02 +01:00
Antoine Pitrou 60bf7e9e4d Relax timing check (seen a buildbot failure on this) 2011-03-21 18:43:01 +01:00
Georg Brandl 2f5cac6ab4 Merge to 3.2. 2011-03-21 08:55:31 +01:00
Georg Brandl 82d8ec5eef Fix duplicate word. 2011-03-21 08:55:16 +01:00
Kurt B. Kaiser 75fc566d0f <Home> toggle non-functional when NumLock set
on Windows.  Issue3851.
2011-03-21 02:13:42 -04:00
Victor Stinner ec1c030aad merge 3.1 (already commited before) 2011-03-21 03:28:10 +01:00
Victor Stinner 451385d8f8 Issue #8651: PyArg_Parse*() functions raise an OverflowError if the file
doesn't have PY_SSIZE_T_CLEAN define and the size doesn't fit in an int
(length bigger than 2^31-1 bytes).
2011-03-21 03:22:50 +01:00
Éric Araujo d8c73c650c Fix some issue references in NEWS 2011-03-21 03:15:22 +01:00