]>
granicus.if.org Git - python/log
R David Murray [Fri, 25 Mar 2011 20:16:54 +0000 (16:16 -0400)]
Merge #9557: eliminate 3 seconds of static overhead from test_mailbox.
R David Murray [Fri, 25 Mar 2011 20:03:47 +0000 (16:03 -0400)]
#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.
Raymond Hettinger [Fri, 25 Mar 2011 19:41:07 +0000 (12:41 -0700)]
Issue #11071: Fix whatsnew description of O/S access to raw bytes.
R David Murray [Fri, 25 Mar 2011 19:10:55 +0000 (15:10 -0400)]
#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.
Ezio Melotti [Fri, 25 Mar 2011 12:25:36 +0000 (14:25 +0200)]
#2650: Merge with 3.1.
Ezio Melotti [Fri, 25 Mar 2011 12:19:30 +0000 (14:19 +0200)]
#2650: Refactor re.escape to use enumerate().
Ezio Melotti [Fri, 25 Mar 2011 12:09:33 +0000 (14:09 +0200)]
#2650: Add tests with non-ascii chars for re.escape.
Ezio Melotti [Fri, 25 Mar 2011 12:08:44 +0000 (14:08 +0200)]
#2650: Refactor the tests for re.escape.
Kurt B. Kaiser [Fri, 25 Mar 2011 04:30:40 +0000 (00:30 -0400)]
Merge from 3.1 again
Kurt B. Kaiser [Fri, 25 Mar 2011 04:22:09 +0000 (00:22 -0400)]
Merge 3.2 heads
Kurt B. Kaiser [Thu, 24 Mar 2011 17:19:35 +0000 (13:19 -0400)]
Merge 3.1
R David Murray [Thu, 24 Mar 2011 16:27:23 +0000 (12:27 -0400)]
Merge #11606: improved body_encode algorithm, no longer produces overlong lines
R David Murray [Thu, 24 Mar 2011 16:19:26 +0000 (12:19 -0400)]
#11606: improved body_encode algorithm, no longer produces overlong lines
Algorithm and initial patch by Michael Henry.
Kurt B. Kaiser [Thu, 24 Mar 2011 16:03:36 +0000 (12:03 -0400)]
Merge 3.1
Victor Stinner [Thu, 24 Mar 2011 15:39:07 +0000 (16:39 +0100)]
Merge 3.1
Victor Stinner [Thu, 24 Mar 2011 15:24:07 +0000 (16:24 +0100)]
test_multiprocessing: use assertLess() to see the timeout on error
Antoine Pitrou [Thu, 24 Mar 2011 14:47:39 +0000 (15:47 +0100)]
Add tests for the atexit hook in concurrent.futures (part of #11635)
Senthil Kumaran [Thu, 24 Mar 2011 03:46:19 +0000 (11:46 +0800)]
issue10883 - Silence some ftp related ResourceWarnings in test_urllib2net. Patch by Nadeem Vawda.
Antoine Pitrou [Wed, 23 Mar 2011 22:02:31 +0000 (23:02 +0100)]
Add NEWS entry for
9aa6097131ef
Antoine Pitrou [Wed, 23 Mar 2011 22:01:49 +0000 (23:01 +0100)]
Issue #11653: fix -W with -j in regrtest
R David Murray [Wed, 23 Mar 2011 19:27:04 +0000 (15:27 -0400)]
Merge #11590: fix quoprimime decode handling of empty strings and line endings.
R David Murray [Wed, 23 Mar 2011 19:25:55 +0000 (15:25 -0400)]
#11590: fix quoprimime decode handling of empty strings and line endings.
R David Murray [Wed, 23 Mar 2011 18:27:18 +0000 (14:27 -0400)]
Merge #11589: add additional tests for the email quoprimime module.
R David Murray [Wed, 23 Mar 2011 18:19:05 +0000 (14:19 -0400)]
#11589: add additional tests for the email quoprimime module.
Patch by Michael Henry.
Éric Araujo [Wed, 23 Mar 2011 03:52:08 +0000 (04:52 +0100)]
Branch merge
Éric Araujo [Wed, 23 Mar 2011 02:43:22 +0000 (03:43 +0100)]
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.
Antoine Pitrou [Wed, 23 Mar 2011 02:10:14 +0000 (03:10 +0100)]
Use transient_internet() consistently in test_imaplib
Éric Araujo [Wed, 23 Mar 2011 01:08:07 +0000 (02:08 +0100)]
Fix obscure set crashers (#8420). Backport of
d56b3cafb1e6 , reviewed by Raymond.
Raymond Hettinger [Wed, 23 Mar 2011 00:33:53 +0000 (17:33 -0700)]
Issue #10610: Document that int(), float(), and complex() accept numeric literals with the Nd property.
Raymond Hettinger [Wed, 23 Mar 2011 00:33:17 +0000 (17:33 -0700)]
Issue #10610: Document that int(), float(), and complex() accept numeric literals with the Nd property.
Raymond Hettinger [Tue, 22 Mar 2011 23:27:31 +0000 (16:27 -0700)]
Issue #10771: Clarify that descriptors get used in an *owner* class or one of its parents.
Raymond Hettinger [Tue, 22 Mar 2011 23:27:02 +0000 (16:27 -0700)]
Issue #10771: Clarify that descriptors get used in an *owner* class or one of its parents.
Kurt B. Kaiser [Tue, 22 Mar 2011 23:26:46 +0000 (19:26 -0400)]
Merge from 3.1
Raymond Hettinger [Tue, 22 Mar 2011 22:56:41 +0000 (15:56 -0700)]
Issue 10787: Document the probability density function for random.gammavariate.
Raymond Hettinger [Tue, 22 Mar 2011 22:55:51 +0000 (15:55 -0700)]
Issue 10787: Document the probability density function for random.gammavariate.
Raymond Hettinger [Tue, 22 Mar 2011 22:33:02 +0000 (15:33 -0700)]
Issue 10988: fix description of super's descriptor call.
Raymond Hettinger [Tue, 22 Mar 2011 22:28:45 +0000 (15:28 -0700)]
Issue 10988: fix description of super's descriptor call.
Antoine Pitrou [Tue, 22 Mar 2011 17:30:30 +0000 (18:30 +0100)]
Use shorter timings in test_concurrent_futures to make it a bit faster
(it's still very slow)
Raymond Hettinger [Tue, 22 Mar 2011 16:12:18 +0000 (09:12 -0700)]
Issue #11625: Fix Typo
Raymond Hettinger [Tue, 22 Mar 2011 16:11:39 +0000 (09:11 -0700)]
Issue #11625: Fix Typo
Raymond Hettinger [Tue, 22 Mar 2011 00:50:28 +0000 (17:50 -0700)]
Issue #11628: cmp_to_key should use __slots__.
Antoine Pitrou [Mon, 21 Mar 2011 18:55:16 +0000 (19:55 +0100)]
Always print out the traceback when a test "crashed"
Antoine Pitrou [Mon, 21 Mar 2011 18:05:02 +0000 (19:05 +0100)]
Try to make test_import a bit more robust
Antoine Pitrou [Mon, 21 Mar 2011 17:43:01 +0000 (18:43 +0100)]
Relax timing check (seen a buildbot failure on this)
Georg Brandl [Mon, 21 Mar 2011 07:55:31 +0000 (08:55 +0100)]
Merge to 3.2.
Georg Brandl [Mon, 21 Mar 2011 07:55:16 +0000 (08:55 +0100)]
Fix duplicate word.
Kurt B. Kaiser [Mon, 21 Mar 2011 06:13:42 +0000 (02:13 -0400)]
<Home> toggle non-functional when NumLock set
on Windows. Issue3851.
Victor Stinner [Mon, 21 Mar 2011 02:28:10 +0000 (03:28 +0100)]
merge 3.1 (already commited before)
Victor Stinner [Mon, 21 Mar 2011 02:22:50 +0000 (03:22 +0100)]
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).
Éric Araujo [Mon, 21 Mar 2011 02:15:22 +0000 (03:15 +0100)]
Fix some issue references in NEWS
Victor Stinner [Mon, 21 Mar 2011 01:51:38 +0000 (02:51 +0100)]
merge 3.1
Victor Stinner [Mon, 21 Mar 2011 01:38:51 +0000 (02:38 +0100)]
Issue #5537: Fix time2isoz() and time2netscape() functions of httplib.cookiejar
for expiration year greater than 2038 on 32-bit systems.
Victor Stinner [Mon, 21 Mar 2011 01:14:53 +0000 (02:14 +0100)]
time.strftime(): replace PyErr_Format() by PyErr_SetString()
The argument was not used in the format string.
Victor Stinner [Mon, 21 Mar 2011 01:11:01 +0000 (02:11 +0100)]
Issue #10864 has been fixed: remove the workaround
Antoine Pitrou [Sun, 20 Mar 2011 23:28:52 +0000 (00:28 +0100)]
Merge
Antoine Pitrou [Sun, 20 Mar 2011 23:26:51 +0000 (00:26 +0100)]
Try to strengthen test_httpservers (issue #11617)
Éric Araujo [Sun, 20 Mar 2011 23:01:23 +0000 (00:01 +0100)]
Fix some issue references in NEWS
Victor Stinner [Sun, 20 Mar 2011 22:36:35 +0000 (23:36 +0100)]
Issue #11395: io.FileIO().write() clamps the data length to 32,767 bytes on
Windows if the file is a TTY to workaround a Windows bug. The Windows console
returns an error (12: not enough space error) on writing into stdout if
stdout mode is binary and the length is greater than 66,000 bytes (or less,
depending on heap usage).
Victor Stinner [Sun, 20 Mar 2011 22:23:22 +0000 (23:23 +0100)]
Fix #11586: typo in initfsencoding()
Patch written by Ray Allen.
Éric Araujo [Sun, 20 Mar 2011 17:31:42 +0000 (18:31 +0100)]
Merge from 3.1
Éric Araujo [Sun, 20 Mar 2011 17:30:37 +0000 (18:30 +0100)]
Fix typo in class name
Antoine Pitrou [Sun, 20 Mar 2011 16:36:26 +0000 (17:36 +0100)]
Merge
Antoine Pitrou [Sun, 20 Mar 2011 16:35:32 +0000 (17:35 +0100)]
Call reap_children() where appropriate
R David Murray [Sun, 20 Mar 2011 15:19:20 +0000 (11:19 -0400)]
Merge markup fixes for #7198 patch.
R David Murray [Sun, 20 Mar 2011 15:18:21 +0000 (11:18 -0400)]
Markup fixes for #7198 patch.
R David Murray [Sun, 20 Mar 2011 14:25:29 +0000 (10:25 -0400)]
Really merge #7198
Changeset
ab27f16f707a was messed up by a rebase (as were
959f666470cc and
9d1b1a95bc8f ) and the patch only got applied
to default.
R David Murray [Sun, 20 Mar 2011 14:23:22 +0000 (10:23 -0400)]
#7198: really add newline='' to csv.writer docs.
Changeset
ab27f16f707a was messed up by a rebase (as were
959f666470cc and
9d1b1a95bc8f ) and the patch only got applied
to default.
Ezio Melotti [Sun, 20 Mar 2011 13:31:26 +0000 (15:31 +0200)]
Save a copy of sys.warnoptions in test_program.
Ezio Melotti [Sun, 20 Mar 2011 13:09:26 +0000 (15:09 +0200)]
Add a check for sys.warnoptions in regrtest.
Senthil Kumaran [Sun, 20 Mar 2011 02:45:10 +0000 (10:45 +0800)]
Merge from 3.1
Senthil Kumaran [Sun, 20 Mar 2011 02:44:30 +0000 (10:44 +0800)]
Issue #11567 - Let's have the DOCTYPE as HTML instead of XHTML.
Senthil Kumaran [Sun, 20 Mar 2011 01:26:57 +0000 (09:26 +0800)]
Add NEWS for Issue #11563.
Senthil Kumaran [Sat, 19 Mar 2011 21:33:09 +0000 (05:33 +0800)]
branch merge 3.2
Senthil Kumaran [Sat, 19 Mar 2011 21:30:16 +0000 (05:30 +0800)]
Call unfakehttp in order to close connection while opening the connection through a fakehttp object.
Address issue11609 - urllib related buildbots failure.
Antoine Pitrou [Sat, 19 Mar 2011 16:04:13 +0000 (17:04 +0100)]
Issue #11459: A `bufsize` value of 0 in subprocess.Popen() really creates
unbuffered pipes, such that select() works properly on them.
Antoine Pitrou [Sat, 19 Mar 2011 16:00:37 +0000 (17:00 +0100)]
Issue #11459: A `bufsize` value of 0 in subprocess.Popen() really creates
unbuffered pipes, such that select() works properly on them.
Senthil Kumaran [Sat, 19 Mar 2011 09:45:40 +0000 (17:45 +0800)]
Merging it again.
Senthil Kumaran [Sat, 19 Mar 2011 09:25:27 +0000 (17:25 +0800)]
Closes issue11563 - test_urllibnet ResourceWarning. Patch by Jeff McNeil.
Raymond Hettinger [Sat, 19 Mar 2011 01:22:28 +0000 (18:22 -0700)]
Issue 7391: Remove questionable and outdated HOWTO document with permission from its author.
Antoine Pitrou [Thu, 17 Mar 2011 22:40:53 +0000 (23:40 +0100)]
Oops, wrong issue number in NEWS
Antoine Pitrou [Thu, 17 Mar 2011 22:36:13 +0000 (23:36 +0100)]
Add news entry for
a791dd7d51f3
Antoine Pitrou [Thu, 17 Mar 2011 22:34:33 +0000 (23:34 +0100)]
Issue #10914: fix bogus memory management in Modules/getpath.c, leading to a possible crash when calling Py_SetPath()
Antoine Pitrou [Thu, 17 Mar 2011 21:40:18 +0000 (22:40 +0100)]
Issue #5421: merge fix
Antoine Pitrou [Thu, 17 Mar 2011 21:38:37 +0000 (22:38 +0100)]
Issue #5421: Fix misleading error message when one of socket.sendto()'s
arguments has the wrong type. Patch by Nikita Vetoshkin.
Michael Foord [Thu, 17 Mar 2011 17:47:12 +0000 (13:47 -0400)]
Move NEWS entry to correct place
Michael Foord [Thu, 17 Mar 2011 17:44:18 +0000 (13:44 -0400)]
Issue #10979. unittest stdout buffering now works with class and module setup and teardown.
Senthil Kumaran [Thu, 17 Mar 2011 09:05:04 +0000 (17:05 +0800)]
Recording the merge.
Senthil Kumaran [Thu, 17 Mar 2011 09:01:45 +0000 (17:01 +0800)]
Error message in http.server code. Missed to update in 3.1 branch initially.
Senthil Kumaran [Thu, 17 Mar 2011 08:43:22 +0000 (16:43 +0800)]
Fix issue11567: http.server DEFAULT_ERROR_MESSAGE format. Patch by Gennadiy Zlobin.
Nick Coghlan [Thu, 17 Mar 2011 02:09:10 +0000 (22:09 -0400)]
Merge from remote
Nick Coghlan [Thu, 17 Mar 2011 01:26:40 +0000 (21:26 -0400)]
Close #11577: Improve binhex test coverage and fix ResourceWarning
R David Murray [Thu, 17 Mar 2011 01:11:23 +0000 (21:11 -0400)]
#11243: tests and fixes for handling of 'dirty data' in additional methods
R David Murray [Wed, 16 Mar 2011 22:27:34 +0000 (18:27 -0400)]
Merge #11401 fix from 3.1.
R David Murray [Wed, 16 Mar 2011 22:26:23 +0000 (18:26 -0400)]
#11401: handle headers with no value.
R David Murray [Wed, 16 Mar 2011 21:32:27 +0000 (17:32 -0400)]
#11578: add unit tests for timeit module.
Patch by Michael Henry.
Michael Foord [Wed, 16 Mar 2011 21:19:16 +0000 (17:19 -0400)]
Closes issue 11503. Improves test coverage of posixpath.
R David Murray [Wed, 16 Mar 2011 20:13:07 +0000 (16:13 -0400)]
Merge #9298 fix.
R David Murray [Wed, 16 Mar 2011 19:52:22 +0000 (15:52 -0400)]
#9298: restore proper folding of base64 encoded bodies.
Patch by Yves Dorfsman.
Jesus Cea [Wed, 16 Mar 2011 19:41:26 +0000 (20:41 +0100)]
Dummy merge
Jesus Cea [Wed, 16 Mar 2011 19:37:54 +0000 (20:37 +0100)]
Close Issue 11570: Lib/test/test_distutils.py tries to mix 32 and 64 bits object files, doesn't obey LDFLAGS