]> granicus.if.org Git - python/log
python
13 years agoMerge to 3.2.
Georg Brandl [Mon, 21 Mar 2011 07:55:31 +0000 (08:55 +0100)]
Merge to 3.2.

13 years agoFix duplicate word.
Georg Brandl [Mon, 21 Mar 2011 07:55:16 +0000 (08:55 +0100)]
Fix duplicate word.

13 years agomerge 3.1 (already commited before)
Victor Stinner [Mon, 21 Mar 2011 02:28:10 +0000 (03:28 +0100)]
merge 3.1 (already commited before)

13 years agoIssue #8651: PyArg_Parse*() functions raise an OverflowError if the file
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).

13 years agoFix some issue references in NEWS
Éric Araujo [Mon, 21 Mar 2011 02:15:22 +0000 (03:15 +0100)]
Fix some issue references in NEWS

13 years agomerge 3.1
Victor Stinner [Mon, 21 Mar 2011 01:51:38 +0000 (02:51 +0100)]
merge 3.1

13 years agoIssue #5537: Fix time2isoz() and time2netscape() functions of httplib.cookiejar
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.

13 years agotime.strftime(): replace PyErr_Format() by PyErr_SetString()
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.

13 years agoIssue #10864 has been fixed: remove the workaround
Victor Stinner [Mon, 21 Mar 2011 01:11:01 +0000 (02:11 +0100)]
Issue #10864 has been fixed: remove the workaround

13 years agoMerge
Antoine Pitrou [Sun, 20 Mar 2011 23:28:52 +0000 (00:28 +0100)]
Merge

13 years agoTry to strengthen test_httpservers (issue #11617)
Antoine Pitrou [Sun, 20 Mar 2011 23:26:51 +0000 (00:26 +0100)]
Try to strengthen test_httpservers (issue #11617)

13 years agoFix some issue references in NEWS
Éric Araujo [Sun, 20 Mar 2011 23:01:23 +0000 (00:01 +0100)]
Fix some issue references in NEWS

13 years agoIssue #11395: io.FileIO().write() clamps the data length to 32,767 bytes on
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).

13 years agoFix #11586: typo in initfsencoding()
Victor Stinner [Sun, 20 Mar 2011 22:23:22 +0000 (23:23 +0100)]
Fix #11586: typo in initfsencoding()

Patch written by Ray Allen.

13 years agoMerge from 3.1
Éric Araujo [Sun, 20 Mar 2011 17:31:42 +0000 (18:31 +0100)]
Merge from 3.1

13 years agoFix typo in class name
Éric Araujo [Sun, 20 Mar 2011 17:30:37 +0000 (18:30 +0100)]
Fix typo in class name

13 years agoMerge
Antoine Pitrou [Sun, 20 Mar 2011 16:36:26 +0000 (17:36 +0100)]
Merge

13 years agoCall reap_children() where appropriate
Antoine Pitrou [Sun, 20 Mar 2011 16:35:32 +0000 (17:35 +0100)]
Call reap_children() where appropriate

13 years agoMerge markup fixes for #7198 patch.
R David Murray [Sun, 20 Mar 2011 15:19:20 +0000 (11:19 -0400)]
Merge markup fixes for #7198 patch.

13 years agoMarkup fixes for #7198 patch.
R David Murray [Sun, 20 Mar 2011 15:18:21 +0000 (11:18 -0400)]
Markup fixes for #7198 patch.

13 years agoReally merge #7198
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.

13 years ago#7198: really add newline='' to csv.writer docs.
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.

13 years agoSave a copy of sys.warnoptions in test_program.
Ezio Melotti [Sun, 20 Mar 2011 13:31:26 +0000 (15:31 +0200)]
Save a copy of sys.warnoptions in test_program.

13 years agoAdd a check for sys.warnoptions in regrtest.
Ezio Melotti [Sun, 20 Mar 2011 13:09:26 +0000 (15:09 +0200)]
Add a check for sys.warnoptions in regrtest.

13 years agoMerge from 3.1
Senthil Kumaran [Sun, 20 Mar 2011 02:45:10 +0000 (10:45 +0800)]
Merge from 3.1

13 years agoIssue #11567 - Let's have the DOCTYPE as HTML instead of XHTML.
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.

13 years agoAdd NEWS for Issue #11563.
Senthil Kumaran [Sun, 20 Mar 2011 01:26:57 +0000 (09:26 +0800)]
Add NEWS for  Issue #11563.

13 years agobranch merge 3.2
Senthil Kumaran [Sat, 19 Mar 2011 21:33:09 +0000 (05:33 +0800)]
branch merge 3.2

13 years agoCall unfakehttp in order to close connection while opening the connection through...
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.

13 years agoIssue #11459: A `bufsize` value of 0 in subprocess.Popen() really creates
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.

13 years agoIssue #11459: A `bufsize` value of 0 in subprocess.Popen() really creates
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.

13 years agoMerging it again.
Senthil Kumaran [Sat, 19 Mar 2011 09:45:40 +0000 (17:45 +0800)]
Merging it again.

13 years agoCloses issue11563 - test_urllibnet ResourceWarning. Patch by Jeff McNeil.
Senthil Kumaran [Sat, 19 Mar 2011 09:25:27 +0000 (17:25 +0800)]
Closes issue11563 - test_urllibnet ResourceWarning. Patch by Jeff McNeil.

13 years agoIssue 7391: Remove questionable and outdated HOWTO document with permission from...
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.

13 years agoOops, wrong issue number in NEWS
Antoine Pitrou [Thu, 17 Mar 2011 22:40:53 +0000 (23:40 +0100)]
Oops, wrong issue number in NEWS

13 years agoAdd news entry for a791dd7d51f3
Antoine Pitrou [Thu, 17 Mar 2011 22:36:13 +0000 (23:36 +0100)]
Add news entry for a791dd7d51f3

13 years agoIssue #10914: fix bogus memory management in Modules/getpath.c, leading to a possible...
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()

13 years agoIssue #5421: merge fix
Antoine Pitrou [Thu, 17 Mar 2011 21:40:18 +0000 (22:40 +0100)]
Issue #5421: merge fix

13 years agoIssue #5421: Fix misleading error message when one of socket.sendto()'s
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.

13 years agoMove NEWS entry to correct place
Michael Foord [Thu, 17 Mar 2011 17:47:12 +0000 (13:47 -0400)]
Move NEWS entry to correct place

13 years agoIssue #10979. unittest stdout buffering now works with class and module setup and...
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.

13 years agoRecording the merge.
Senthil Kumaran [Thu, 17 Mar 2011 09:05:04 +0000 (17:05 +0800)]
Recording the merge.

13 years agoError message in http.server code. Missed to update in 3.1 branch initially.
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.

13 years agoFix issue11567: http.server DEFAULT_ERROR_MESSAGE format. Patch by Gennadiy Zlobin.
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.

13 years agoMerge from remote
Nick Coghlan [Thu, 17 Mar 2011 02:09:10 +0000 (22:09 -0400)]
Merge from remote

13 years agoClose #11577: Improve binhex test coverage and fix ResourceWarning
Nick Coghlan [Thu, 17 Mar 2011 01:26:40 +0000 (21:26 -0400)]
Close #11577: Improve binhex test coverage and fix ResourceWarning

13 years ago#11243: tests and fixes for handling of 'dirty data' in additional methods
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

13 years agoMerge #11401 fix from 3.1.
R David Murray [Wed, 16 Mar 2011 22:27:34 +0000 (18:27 -0400)]
Merge #11401 fix from 3.1.

13 years ago#11401: handle headers with no value.
R David Murray [Wed, 16 Mar 2011 22:26:23 +0000 (18:26 -0400)]
#11401: handle headers with no value.

13 years ago#11578: add unit tests for timeit module.
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.

13 years agoCloses issue 11503. Improves test coverage of posixpath.
Michael Foord [Wed, 16 Mar 2011 21:19:16 +0000 (17:19 -0400)]
Closes issue 11503. Improves test coverage of posixpath.

13 years agoMerge #9298 fix.
R David Murray [Wed, 16 Mar 2011 20:13:07 +0000 (16:13 -0400)]
Merge #9298 fix.

13 years ago#9298: restore proper folding of base64 encoded bodies.
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.

13 years agoDummy merge
Jesus Cea [Wed, 16 Mar 2011 19:41:26 +0000 (20:41 +0100)]
Dummy merge

13 years agoClose Issue 11570: Lib/test/test_distutils.py tries to mix 32 and 64 bits object...
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

13 years agoBackport improved test coverage for string.py
Nick Coghlan [Wed, 16 Mar 2011 18:30:45 +0000 (14:30 -0400)]
Backport improved test coverage for string.py

13 years agoFix typo in NEWS
Nick Coghlan [Wed, 16 Mar 2011 18:19:22 +0000 (14:19 -0400)]
Fix typo in NEWS

13 years agoAdd missing NEWS entries
Nick Coghlan [Wed, 16 Mar 2011 18:14:18 +0000 (14:14 -0400)]
Add missing NEWS entries

13 years agoClose #11560: Improve test coverage of shutil
Nick Coghlan [Wed, 16 Mar 2011 18:05:35 +0000 (14:05 -0400)]
Close #11560: Improve test coverage of shutil

13 years agoClose #11548: Correctly handle format argument in shutil.unpack_archive
Nick Coghlan [Wed, 16 Mar 2011 17:52:20 +0000 (13:52 -0400)]
Close #11548: Correctly handle format argument in shutil.unpack_archive

13 years agocorrect patch ack (#11133)
Benjamin Peterson [Wed, 16 Mar 2011 15:29:19 +0000 (10:29 -0500)]
correct patch ack (#11133)

13 years agoMerge with 3.1
Ronald Oussoren [Wed, 16 Mar 2011 13:43:06 +0000 (09:43 -0400)]
Merge with 3.1

13 years agoIssue #11569: use absolute path to the sysctl command in multiprocessing to
Ronald Oussoren [Wed, 16 Mar 2011 13:41:32 +0000 (09:41 -0400)]
Issue #11569: use absolute path to the sysctl command in multiprocessing to
ensure that it will be found regardless of the shell PATH. This ensures
that multiprocessing.cpu_count works on default installs of MacOSX.

13 years agoMerge with 3.1.
Ezio Melotti [Wed, 16 Mar 2011 10:51:44 +0000 (12:51 +0200)]
Merge with 3.1.

13 years agoRevert typo fixes in zlib/*
Ezio Melotti [Wed, 16 Mar 2011 10:48:54 +0000 (12:48 +0200)]
Revert typo fixes in zlib/*

13 years ago#11565: Merge with 3.1.
Ezio Melotti [Wed, 16 Mar 2011 09:35:38 +0000 (11:35 +0200)]
#11565: Merge with 3.1.

13 years ago#11565: Fix several typos. Patch by Piotr Kasprzyk.
Ezio Melotti [Wed, 16 Mar 2011 09:05:33 +0000 (11:05 +0200)]
#11565: Fix several typos. Patch by Piotr Kasprzyk.

13 years agoMerge
Jesus Cea [Wed, 16 Mar 2011 00:40:50 +0000 (01:40 +0100)]
Merge

13 years agoClose issue #8600: test_gdb failures because innocuous warnings
Jesus Cea [Wed, 16 Mar 2011 00:33:16 +0000 (01:33 +0100)]
Close issue #8600: test_gdb failures because innocuous warnings

13 years agoEmphasize the ['x', 'y'] option for listing field names. Remove PS2 prompts to make...
Raymond Hettinger [Wed, 16 Mar 2011 00:25:51 +0000 (17:25 -0700)]
Emphasize the ['x', 'y'] option for listing field names.  Remove PS2 prompts to make the examples cut-and-pasteable.

13 years agoCloses issue 11133. Fixes two cases where inspect.getattr_static could trigger code...
Michael Foord [Tue, 15 Mar 2011 23:20:44 +0000 (19:20 -0400)]
Closes issue 11133. Fixes two cases where inspect.getattr_static could trigger code execution

13 years agoWing project file update for mercurial
Michael Foord [Tue, 15 Mar 2011 22:19:58 +0000 (18:19 -0400)]
Wing project file update for mercurial

13 years agoIssue 11510: Fix BUILD_SET optimizer bug.
Raymond Hettinger [Tue, 15 Mar 2011 21:50:16 +0000 (14:50 -0700)]
Issue 11510: Fix BUILD_SET optimizer bug.

13 years agoMerge #11216: document all possible set_charset execution paths.
R David Murray [Tue, 15 Mar 2011 21:42:50 +0000 (17:42 -0400)]
Merge #11216: document all possible set_charset execution paths.

13 years ago#11216: document all possible set_charset execution paths.
R David Murray [Tue, 15 Mar 2011 21:41:13 +0000 (17:41 -0400)]
#11216: document all possible set_charset execution paths.

13 years agoMerge
Antoine Pitrou [Tue, 15 Mar 2011 21:05:51 +0000 (22:05 +0100)]
Merge

13 years agoFix whitespace in test_subprocess
Antoine Pitrou [Tue, 15 Mar 2011 20:17:10 +0000 (21:17 +0100)]
Fix whitespace in test_subprocess

13 years agoMerge
Antoine Pitrou [Tue, 15 Mar 2011 20:11:27 +0000 (21:11 +0100)]
Merge

13 years agoMerge
Antoine Pitrou [Tue, 15 Mar 2011 20:11:04 +0000 (21:11 +0100)]
Merge

13 years agomerge heads
Benjamin Peterson [Tue, 15 Mar 2011 20:08:34 +0000 (15:08 -0500)]
merge heads

13 years agoMerge fix for issue #11501
Antoine Pitrou [Tue, 15 Mar 2011 20:05:36 +0000 (21:05 +0100)]
Merge fix for issue #11501

13 years agomerge 3.1
Benjamin Peterson [Tue, 15 Mar 2011 20:04:06 +0000 (15:04 -0500)]
merge 3.1

13 years agomake this subversion artifact empty
Benjamin Peterson [Tue, 15 Mar 2011 20:03:13 +0000 (15:03 -0500)]
make this subversion artifact empty

13 years agoOn behalf of Tarek: Issue #11501: disutils.archive_utils.make_zipfile no
Antoine Pitrou [Tue, 15 Mar 2011 20:02:59 +0000 (21:02 +0100)]
On behalf of Tarek: Issue #11501: disutils.archive_utils.make_zipfile no
longer fails if zlib is not installed. Instead, the zipfile.ZIP_STORED
compression is used to create the ZipFile. Patch by Natalia B. Bidart.

13 years agoissue 11432 news entry.
Gregory P. Smith [Tue, 15 Mar 2011 20:02:10 +0000 (16:02 -0400)]
issue 11432 news entry.

13 years agomerge 3.2 heads
Gregory P. Smith [Tue, 15 Mar 2011 19:52:09 +0000 (15:52 -0400)]
merge 3.2 heads

13 years agorevert the test_main() change from 08daf3ef6509 so that regrtest continues to run...
Gregory P. Smith [Tue, 15 Mar 2011 19:43:39 +0000 (15:43 -0400)]
revert the test_main() change from 08daf3ef6509 so that regrtest continues to run this properly.

13 years agomerge d71476b9a55d from tip, use start_new_session instead of os.setsid.
Gregory P. Smith [Tue, 15 Mar 2011 19:24:43 +0000 (15:24 -0400)]
merge d71476b9a55d from tip, use start_new_session instead of os.setsid.

13 years agoAdd unittests demonstrating issue #11432.
Gregory P. Smith [Tue, 15 Mar 2011 18:55:17 +0000 (14:55 -0400)]
Add unittests demonstrating issue #11432.

13 years agoFix issue #11432. if the stdin pipe is the same file descriptor as either stdout...
Gregory P. Smith [Tue, 15 Mar 2011 18:56:39 +0000 (14:56 -0400)]
Fix issue #11432. if the stdin pipe is the same file descriptor as either stdout or stderr
in the _posixsubprocess C extension module it would unintentionally close the fds and raise
an error.

13 years agoFollowup to 4c59cd84086f: add an entry in the porting guide and a "versionchanged...
Antoine Pitrou [Tue, 15 Mar 2011 19:22:50 +0000 (20:22 +0100)]
Followup to 4c59cd84086f: add an entry in the porting guide and a "versionchanged" attribute.

13 years agoMerge #11555 as_string doc fix from 3.1.
R David Murray [Tue, 15 Mar 2011 18:02:53 +0000 (14:02 -0400)]
Merge #11555 as_string doc fix from 3.1.

13 years ago#11555: update doc for 3.x change to as_string mangle_from default.
R David Murray [Tue, 15 Mar 2011 18:01:18 +0000 (14:01 -0400)]
#11555: update doc for 3.x change to as_string mangle_from default.

13 years agoMerge with 3.2
Ezio Melotti [Tue, 15 Mar 2011 17:19:04 +0000 (19:19 +0200)]
Merge with 3.2

13 years agoRevert typo fixes in _cytpes/libffi*
Ezio Melotti [Tue, 15 Mar 2011 17:10:51 +0000 (19:10 +0200)]
Revert typo fixes in _cytpes/libffi*

13 years agoRemove obsolete comment.
R David Murray [Tue, 15 Mar 2011 16:48:41 +0000 (12:48 -0400)]
Remove obsolete comment.

13 years ago#11554: reactivate test_email_codecs, and make it pass.
R David Murray [Tue, 15 Mar 2011 16:20:02 +0000 (12:20 -0400)]
#11554: reactivate test_email_codecs, and make it pass.

The fix is to charset.py, which was not doing the encoding to the
correct output character set when doing a body_encode for either
the shift-jis or euc-jp charsets.  There's also a fix for handling
a bytes input in encoders.py.

Patch by Michael Henry, comment changes by me.

13 years agomerge 141bbcb19c06
Gregory P. Smith [Tue, 15 Mar 2011 06:13:09 +0000 (02:13 -0400)]
merge 141bbcb19c06

13 years agoFix the @test_NNNN_tmp file terds being left in whatever your $PWD was
Gregory P. Smith [Tue, 15 Mar 2011 06:04:11 +0000 (02:04 -0400)]
Fix the @test_NNNN_tmp file terds being left in whatever your $PWD was
when test_subprocess was run.

13 years ago#11515: Merge with 3.1.
Ezio Melotti [Tue, 15 Mar 2011 03:59:46 +0000 (05:59 +0200)]
#11515: Merge with 3.1.