]> granicus.if.org Git - python/log
python
14 years agoshould use 'is' here
Benjamin Peterson [Tue, 15 Mar 2011 20:18:47 +0000 (15:18 -0500)]
should use 'is' here

14 years agomerge 3.2
Benjamin Peterson [Tue, 15 Mar 2011 20:10:29 +0000 (15:10 -0500)]
merge 3.2

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

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

14 years agokill PY_PATCHLEVEL_REVISION
Benjamin Peterson [Tue, 15 Mar 2011 20:07:20 +0000 (15:07 -0500)]
kill PY_PATCHLEVEL_REVISION

14 years agomerge 3.2
Benjamin Peterson [Tue, 15 Mar 2011 20:05:22 +0000 (15:05 -0500)]
merge 3.2

14 years agomerge head
Gregory P. Smith [Tue, 15 Mar 2011 20:04:54 +0000 (16:04 -0400)]
merge head

14 years agoMisc/NEWS entry for issue 11432
Gregory P. Smith [Tue, 15 Mar 2011 20:04:15 +0000 (16:04 -0400)]
Misc/NEWS entry for issue 11432

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

14 years agomerge
Brett Cannon [Tue, 15 Mar 2011 20:03:32 +0000 (16:03 -0400)]
merge

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

14 years agoAdd warnings support to test.support.args_from_interpreter_flags().
Brett Cannon [Tue, 15 Mar 2011 20:03:09 +0000 (16:03 -0400)]
Add warnings support to test.support.args_from_interpreter_flags().
This allows the -j flag to regrtest to propagate warnings settings
properly.

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

14 years agoMove off of assertEquals() and over to assertEqual().
Brett Cannon [Tue, 15 Mar 2011 19:55:12 +0000 (15:55 -0400)]
Move off of assertEquals() and over to assertEqual().

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

14 years agomerge heads
Gregory P. Smith [Tue, 15 Mar 2011 19:51:26 +0000 (15:51 -0400)]
merge heads

14 years agomerge heads
Benjamin Peterson [Tue, 15 Mar 2011 19:45:20 +0000 (14:45 -0500)]
merge heads

14 years agoimprove dis test coverage (closes #11559)
Benjamin Peterson [Tue, 15 Mar 2011 19:44:52 +0000 (14:44 -0500)]
improve dis test coverage (closes #11559)

Thanks Matias Bordese. (a few modifications of my own)

14 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.

14 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.

14 years agomerge update
Gregory P. Smith [Tue, 15 Mar 2011 19:35:27 +0000 (15:35 -0400)]
merge update

14 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.

14 years agomerged
Barry Warsaw [Tue, 15 Mar 2011 19:23:56 +0000 (15:23 -0400)]
merged

14 years agoMerged
Barry Warsaw [Tue, 15 Mar 2011 19:23:30 +0000 (15:23 -0400)]
Merged

14 years agoMerge doc update
Antoine Pitrou [Tue, 15 Mar 2011 19:23:30 +0000 (20:23 +0100)]
Merge doc update

14 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.

14 years agoMerge and resolve Misc/NEWS.
Barry Warsaw [Tue, 15 Mar 2011 19:22:42 +0000 (15:22 -0400)]
Merge and resolve Misc/NEWS.

14 years ago- Issue #11289: `smtp.SMTP` class becomes a context manager so it can be used
Barry Warsaw [Tue, 15 Mar 2011 19:04:44 +0000 (15:04 -0400)]
- Issue #11289: `smtp.SMTP` class becomes a context manager so it can be used
  in a `with` statement.  Contributed by Giampaolo Rodola.

14 years agoUse start_new_session in the webbrowser module rather than a python os.setsid preeexe...
Gregory P. Smith [Tue, 15 Mar 2011 18:58:08 +0000 (14:58 -0400)]
Use start_new_session in the webbrowser module rather than a python os.setsid preeexec_fn.

14 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.

14 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.

14 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.

14 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.

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

14 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.

14 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.

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

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

14 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*

14 years agoMerge obsolete comment removal from 3.2.
R David Murray [Tue, 15 Mar 2011 16:49:33 +0000 (12:49 -0400)]
Merge obsolete comment removal from 3.2.

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

14 years agoMerge #11554 test_email_codecs activation from 3.2.
R David Murray [Tue, 15 Mar 2011 16:24:47 +0000 (12:24 -0400)]
Merge #11554 test_email_codecs activation from 3.2.

14 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.

14 years agoAdd news item for #11509.
briancurtin [Tue, 15 Mar 2011 15:51:28 +0000 (11:51 -0400)]
Add news item for #11509.

14 years agoAdjust test names to be more descriptive instead of depending on capitalization.
briancurtin [Tue, 15 Mar 2011 14:59:36 +0000 (10:59 -0400)]
Adjust test names to be more descriptive instead of depending on capitalization.

14 years agoimport style nits
Benjamin Peterson [Tue, 15 Mar 2011 14:50:18 +0000 (09:50 -0500)]
import style nits

14 years agoFix #11509. Significantly increase test coverage for fileinput.
briancurtin [Tue, 15 Mar 2011 14:29:41 +0000 (10:29 -0400)]
Fix #11509. Significantly increase test coverage for fileinput.
Patch by Denver Coneybeare at the PyCon 2011 Sprints.

14 years agoTypo.
Eric V. Smith [Tue, 15 Mar 2011 08:16:42 +0000 (04:16 -0400)]
Typo.

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

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

14 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.

14 years ago#11515: Merge with 3.2.
Ezio Melotti [Tue, 15 Mar 2011 04:03:08 +0000 (06:03 +0200)]
#11515: Merge with 3.2.

14 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.

14 years ago#11515: fix several typos. Patch by Piotr Kasprzyk.
Ezio Melotti [Tue, 15 Mar 2011 03:18:48 +0000 (05:18 +0200)]
#11515: fix several typos. Patch by Piotr Kasprzyk.

14 years agoMerge redundant __contains__ doc fix from 3.2.
R David Murray [Tue, 15 Mar 2011 02:54:19 +0000 (22:54 -0400)]
Merge redundant __contains__ doc fix from 3.2.

14 years agoMerge redundant __contains__ doc fix from 3.1.
R David Murray [Tue, 15 Mar 2011 02:53:29 +0000 (22:53 -0400)]
Merge redundant __contains__ doc fix from 3.1.

14 years agoRemove redundant __contains__ entry from Message docs.
R David Murray [Tue, 15 Mar 2011 02:43:38 +0000 (22:43 -0400)]
Remove redundant __contains__ entry from Message docs.

14 years agoMerge long Japanese header fix from 3.2.
R David Murray [Tue, 15 Mar 2011 01:14:53 +0000 (21:14 -0400)]
Merge long Japanese header fix from 3.2.

14 years agoFix header encoding of long headers when using euc-jp and shift_jis.
R David Murray [Tue, 15 Mar 2011 01:13:03 +0000 (21:13 -0400)]
Fix header encoding of long headers when using euc-jp and shift_jis.

When a header was long enough to need to be split across lines, the
input charset name was used instead of the output charset name in
the encoded words.  This make a difference only for the two charsets
above.

14 years agoMerge with hg.python.org.
Reid Kleckner [Mon, 14 Mar 2011 23:34:13 +0000 (19:34 -0400)]
Merge with hg.python.org.

14 years agoTweak subprocess test timeouts to satisfy the buildbot.
Reid Kleckner [Mon, 14 Mar 2011 23:32:41 +0000 (19:32 -0400)]
Tweak subprocess test timeouts to satisfy the buildbot.

14 years agomerge default
Michael Foord [Mon, 14 Mar 2011 23:03:30 +0000 (19:03 -0400)]
merge default

14 years agoCloses issue 11407. TestCase.run returns the result object used or created
Michael Foord [Mon, 14 Mar 2011 23:01:46 +0000 (19:01 -0400)]
Closes issue 11407. TestCase.run returns the result object used or created

14 years agoMerge with remote
Nick Coghlan [Mon, 14 Mar 2011 22:59:20 +0000 (08:59 +1000)]
Merge with remote

14 years agoClose #11505: Improve string.py coverage
Nick Coghlan [Mon, 14 Mar 2011 22:54:37 +0000 (08:54 +1000)]
Close #11505: Improve string.py coverage

14 years agoIssue #11500: Fixed a bug in the os x proxy bypass code for fully qualified IP addres...
Ronald Oussoren [Mon, 14 Mar 2011 22:48:31 +0000 (18:48 -0400)]
Issue #11500: Fixed a bug in the os x proxy bypass code for fully qualified IP addresses in the proxy exception list.

14 years agoIssue #11500: Fixed a bug in the os x proxy bypass code for fully qualified IP addres...
Ronald Oussoren [Mon, 14 Mar 2011 22:46:50 +0000 (18:46 -0400)]
Issue #11500: Fixed a bug in the os x proxy bypass code for fully qualified IP addresses in the proxy exception list.

14 years agoMerge linesep docstring changes from 3.2.
R David Murray [Mon, 14 Mar 2011 22:39:41 +0000 (18:39 -0400)]
Merge linesep docstring changes from 3.2.

14 years agoHarmonize linesep docstrings, and fix the quoting of \r\n
R David Murray [Mon, 14 Mar 2011 22:35:56 +0000 (18:35 -0400)]
Harmonize linesep docstrings, and fix the quoting of \r\n

14 years agoIssue #11500: Fixed a bug in the os x proxy bypass code for fully qualified IP addres...
Ronald Oussoren [Mon, 14 Mar 2011 22:15:25 +0000 (18:15 -0400)]
Issue #11500: Fixed a bug in the os x proxy bypass code for fully qualified IP addresses in the proxy exception list

Patch by Scott Wilson.

14 years agoMerge #11496 from 3.2.
R David Murray [Mon, 14 Mar 2011 21:14:29 +0000 (17:14 -0400)]
Merge #11496 from 3.2.

14 years ago#11496: skip history test if clear_history is not available.
R David Murray [Mon, 14 Mar 2011 21:10:22 +0000 (17:10 -0400)]
#11496: skip history test if clear_history is not available.

Patch by Natalia B. Bidart.

14 years agoFix #11491. When dbm.open was called with a file which already exists and
briancurtin [Mon, 14 Mar 2011 20:36:31 +0000 (16:36 -0400)]
Fix #11491. When dbm.open was called with a file which already exists and
the "flag" argument is "n", dbm.error was being raised. As documented,
dbm.open(...,flag='n') will now "Always create a new, empty database,
open for reading and writing", regardless of a previous file existing.

14 years agoFix #11491. When dbm.open was called with a file which already exists and
briancurtin [Mon, 14 Mar 2011 20:03:54 +0000 (16:03 -0400)]
Fix #11491. When dbm.open was called with a file which already exists and
the "flag" argument is "n", dbm.error was being raised. As documented,
dbm.open(...,flag='n') will now "Always create a new, empty database,
open for reading and writing", regardless of a previous file existing.

14 years agoFix #11491. When dbm.open was called with a file which already exists and
briancurtin [Mon, 14 Mar 2011 19:35:35 +0000 (15:35 -0400)]
Fix #11491. When dbm.open was called with a file which already exists and
the "flag" argument is "n", dbm.error was being raised. As documented,
dbm.open(...,flag='n') will now "Always create a new, empty database,
open for reading and writing", regardless of a previous file existing.

14 years agowhitespace fix
Gregory P. Smith [Mon, 14 Mar 2011 18:16:20 +0000 (14:16 -0400)]
whitespace fix

14 years agomerge default
Gregory P. Smith [Mon, 14 Mar 2011 18:14:42 +0000 (14:14 -0400)]
merge default

14 years agoAdd a SubprocessError base class for exceptions in the subprocess module.
Gregory P. Smith [Mon, 14 Mar 2011 18:08:43 +0000 (14:08 -0400)]
Add a SubprocessError base class for exceptions in the subprocess module.

14 years agoAttempt a larger timeout value to satisfy the buildbots.
Reid Kleckner [Mon, 14 Mar 2011 17:34:12 +0000 (13:34 -0400)]
Attempt a larger timeout value to satisfy the buildbots.

14 years agoDummy merge with 3.2.
Ezio Melotti [Mon, 14 Mar 2011 16:58:41 +0000 (18:58 +0200)]
Dummy merge with 3.2.

14 years agoSkip test that requires zlib when zlib is not available.
Ezio Melotti [Mon, 14 Mar 2011 16:57:02 +0000 (18:57 +0200)]
Skip test that requires zlib when zlib is not available.

14 years agoMerged with default.
Reid Kleckner [Mon, 14 Mar 2011 16:37:25 +0000 (12:37 -0400)]
Merged with default.

14 years agoIssue #11495: OSF support is eliminated. It was deprecated in Python 3.2
Jesus Cea [Mon, 14 Mar 2011 16:36:54 +0000 (17:36 +0100)]
Issue #11495: OSF support is eliminated. It was deprecated in Python 3.2

14 years agoChange versionchanged for timeout to 3.3, not 3.2.
Reid Kleckner [Mon, 14 Mar 2011 16:36:53 +0000 (12:36 -0400)]
Change versionchanged for timeout to 3.3, not 3.2.

14 years agoMerge with default.
Reid Kleckner [Mon, 14 Mar 2011 16:15:42 +0000 (12:15 -0400)]
Merge with default.

14 years agomerge
Ronald Oussoren [Mon, 14 Mar 2011 16:12:23 +0000 (12:12 -0400)]
merge

14 years agoMerge with default.
Reid Kleckner [Mon, 14 Mar 2011 16:12:18 +0000 (12:12 -0400)]
Merge with default.

14 years agoAdd a 'timeout' argument to subprocess.Popen.
Reid Kleckner [Mon, 14 Mar 2011 16:02:10 +0000 (12:02 -0400)]
Add a 'timeout' argument to subprocess.Popen.

If the timeout expires before the subprocess exits, the wait method and the
communicate method will raise a subprocess.TimeoutExpired exception.  When used
with communicate, it is possible to catch the exception, kill the process, and
retry the communicate and receive any output written to stdout or stderr.

14 years agoSkip test if zlib not present. Closes #11498. Patch by Natalia B. Bidart.
Eric V. Smith [Mon, 14 Mar 2011 15:57:16 +0000 (11:57 -0400)]
Skip test if zlib not present. Closes #11498. Patch by Natalia B. Bidart.

14 years agoIssue #1099: Fix the build on MacOSX when building a framework with pydebug
Ronald Oussoren [Mon, 14 Mar 2011 15:34:21 +0000 (11:34 -0400)]
Issue #1099: Fix the build on MacOSX when building a framework with pydebug
using GCC 4.0.

14 years agoIssue #1099: Fix the build on MacOSX when building a framework with pydebug using...
Ronald Oussoren [Mon, 14 Mar 2011 15:04:34 +0000 (11:04 -0400)]
Issue #1099: Fix the build on MacOSX when building a framework with pydebug using GCC 4.0.

14 years agoTypos.
Eric V. Smith [Mon, 14 Mar 2011 14:56:33 +0000 (10:56 -0400)]
Typos.

14 years agoFixes #1099: Mac compile fails with pydebug and framework enabled
Ronald Oussoren [Mon, 14 Mar 2011 14:11:59 +0000 (10:11 -0400)]
Fixes #1099: Mac compile fails with pydebug and framework enabled

Without this patch "./configure --with-pydebug --enable-framework CC=gcc-4.0" fails on MacOSX

14 years agoMerge #11488 patch from 3.2.
R David Murray [Mon, 14 Mar 2011 13:58:59 +0000 (09:58 -0400)]
Merge #11488 patch from 3.2.

14 years agoMerge #11488 patch from 3.1.
R David Murray [Mon, 14 Mar 2011 13:57:03 +0000 (09:57 -0400)]
Merge #11488 patch from 3.1.

14 years ago#11488: Add tests for writelines method of SpooledTemporaryFile.
R David Murray [Mon, 14 Mar 2011 13:55:46 +0000 (09:55 -0400)]
#11488: Add tests for writelines method of SpooledTemporaryFile.

Patch by Evan Dandrea.

14 years agoMerge with 3.2
Ross Lagerwall [Mon, 14 Mar 2011 08:42:24 +0000 (10:42 +0200)]
Merge with 3.2

14 years agoMerge from 3.1
Ross Lagerwall [Mon, 14 Mar 2011 08:41:58 +0000 (10:41 +0200)]
Merge from 3.1

14 years agoIssue #10885: Fix multiprocessing docs typo
Ross Lagerwall [Mon, 14 Mar 2011 08:40:15 +0000 (10:40 +0200)]
Issue #10885: Fix multiprocessing docs typo

14 years agoMerge whitespace fix from 3.2.
R David Murray [Mon, 14 Mar 2011 02:49:44 +0000 (22:49 -0400)]
Merge whitespace fix from 3.2.