]> granicus.if.org Git - python/log
python
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.

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

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

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

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

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

13 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

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

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

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

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

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

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

13 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

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

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

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

13 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

13 years agoFix whitespace
R David Murray [Mon, 14 Mar 2011 02:48:55 +0000 (22:48 -0400)]
Fix whitespace

13 years agoMerge fix for #11490 from 3.1.
R David Murray [Mon, 14 Mar 2011 02:26:53 +0000 (22:26 -0400)]
Merge fix for #11490 from 3.1.

13 years ago#11490: EACCES can also mean command not found
R David Murray [Mon, 14 Mar 2011 02:13:09 +0000 (22:13 -0400)]
#11490: EACCES can also mean command not found

13 years agoIssue #11329: PyEval_InitThreads() cannot be called before Py_Initialize() anymore
Antoine Pitrou [Sun, 13 Mar 2011 22:28:28 +0000 (23:28 +0100)]
Issue #11329: PyEval_InitThreads() cannot be called before Py_Initialize() anymore

13 years agoRemove documentation to non-existent function PyObject_CopyToObject (fixes #11478)
Antoine Pitrou [Sun, 13 Mar 2011 18:32:01 +0000 (19:32 +0100)]
Remove documentation to non-existent function PyObject_CopyToObject (fixes #11478)

13 years agoRemove documentation to non-existent function PyObject_CopyToObject (fixes #11478)
Antoine Pitrou [Sun, 13 Mar 2011 18:31:11 +0000 (19:31 +0100)]
Remove documentation to non-existent function PyObject_CopyToObject (fixes #11478)

13 years agoIssue #11223: Fix test_threadsignals to fail, not hang, when the
Antoine Pitrou [Sun, 13 Mar 2011 18:14:21 +0000 (19:14 +0100)]
Issue #11223: Fix test_threadsignals to fail, not hang, when the
non-semaphore implementation of locks is used under POSIX.

13 years agoMerge with 3.1.
Ezio Melotti [Sun, 13 Mar 2011 00:27:26 +0000 (02:27 +0200)]
Merge with 3.1.

13 years agoFix markup in inputoutput.rst.
Ezio Melotti [Sun, 13 Mar 2011 00:19:57 +0000 (02:19 +0200)]
Fix markup in inputoutput.rst.

13 years agoDummy merge with 3.1.
Ezio Melotti [Sat, 12 Mar 2011 20:28:01 +0000 (22:28 +0200)]
Dummy merge with 3.1.

13 years agoFix typo.
Ezio Melotti [Sat, 12 Mar 2011 20:25:06 +0000 (22:25 +0200)]
Fix typo.

13 years agomerge 3.1
Benjamin Peterson [Sat, 12 Mar 2011 17:58:40 +0000 (11:58 -0600)]
merge 3.1

13 years agotrunc -> math.trunc (closes #11475)
Benjamin Peterson [Sat, 12 Mar 2011 17:58:15 +0000 (11:58 -0600)]
trunc -> math.trunc (closes #11475)

13 years agoMerge #11131
Mark Dickinson [Sat, 12 Mar 2011 11:17:26 +0000 (11:17 +0000)]
Merge #11131

13 years agoIssue 11131: Fix sign of zero result on decimal.Decimal plus and minus operations...
Mark Dickinson [Sat, 12 Mar 2011 11:12:52 +0000 (11:12 +0000)]
Issue 11131: Fix sign of zero result on decimal.Decimal plus and minus operations in ROUND_FLOOR rounding mode.

13 years agoforward merge from 3.1
Senthil Kumaran [Sat, 12 Mar 2011 03:42:33 +0000 (11:42 +0800)]
forward merge from 3.1

13 years agoFix issue11283 - Clarifying a re pattern in the re module docs for conditional regex
Senthil Kumaran [Sat, 12 Mar 2011 03:40:25 +0000 (11:40 +0800)]
Fix issue11283 - Clarifying a re pattern in the re module docs for conditional regex

13 years agoMerge #11403
Antoine Pitrou [Fri, 11 Mar 2011 22:44:04 +0000 (23:44 +0100)]
Merge #11403

13 years agoIssue #11403: add some MSVC-generated files to .hgignore
Antoine Pitrou [Fri, 11 Mar 2011 22:42:49 +0000 (23:42 +0100)]
Issue #11403: add some MSVC-generated files to .hgignore

13 years agoIssue #11179: Make ccbench work under Python 3.1 and 2.7 again.
Antoine Pitrou [Fri, 11 Mar 2011 19:57:11 +0000 (20:57 +0100)]
Issue #11179: Make ccbench work under Python 3.1 and 2.7 again.

13 years ago#11446: merge with 3.1.
Ezio Melotti [Fri, 11 Mar 2011 18:53:24 +0000 (20:53 +0200)]
#11446: merge with 3.1.

13 years ago#11446: fix incorrect PEP link.
Ezio Melotti [Fri, 11 Mar 2011 18:50:42 +0000 (20:50 +0200)]
#11446: fix incorrect PEP link.

13 years agomerge
Eli Bendersky [Fri, 11 Mar 2011 14:40:25 +0000 (16:40 +0200)]
merge

13 years agomerge from 3.1
Eli Bendersky [Fri, 11 Mar 2011 14:39:04 +0000 (16:39 +0200)]
merge from 3.1

13 years agoIssue #11426: use 'with' statements on open files in CSV examples
Eli Bendersky [Fri, 11 Mar 2011 14:33:36 +0000 (16:33 +0200)]
Issue #11426: use 'with' statements on open files in CSV examples

13 years ago#11435: Update the links generated by the source directive to use hg.python.org.
Ezio Melotti [Fri, 11 Mar 2011 13:16:01 +0000 (15:16 +0200)]
#11435: Update the links generated by the source directive to use hg.python.org.

13 years agoMerge heads.
R David Murray [Thu, 10 Mar 2011 23:15:25 +0000 (18:15 -0500)]
Merge heads.

13 years agoMerge #10999 fix.
R David Murray [Thu, 10 Mar 2011 22:22:33 +0000 (17:22 -0500)]
Merge #10999 fix.

13 years ago#10999: Add missing documentation for chflags constants to stat module docs
R David Murray [Thu, 10 Mar 2011 22:18:33 +0000 (17:18 -0500)]
#10999: Add missing documentation for chflags constants to stat module docs

Patch by Michal Nowikowski.

13 years agoDummy merge with 3.1.
Ezio Melotti [Thu, 10 Mar 2011 21:49:42 +0000 (23:49 +0200)]
Dummy merge with 3.1.

13 years agoUse simpler assert in basic example.
Ezio Melotti [Thu, 10 Mar 2011 21:38:18 +0000 (23:38 +0200)]
Use simpler assert in basic example.

13 years agoExplicitly mention that people should not depend on immediate
Gregory P. Smith [Thu, 10 Mar 2011 19:32:29 +0000 (11:32 -0800)]
Explicitly mention that people should not depend on immediate
finalization of objects.

HG Enter commit message.  Lines beginning with 'HG:' are removed.

13 years agoReword the finalization note.
Gregory P. Smith [Thu, 10 Mar 2011 19:28:50 +0000 (11:28 -0800)]
Reword the finalization note.

13 years agoExplicitly mention that people should not depend on immediate
Gregory P. Smith [Thu, 10 Mar 2011 19:25:44 +0000 (11:25 -0800)]
Explicitly mention that people should not depend on immediate
finalization of objects in the language reference.

13 years agoPort a couple of changes from 3.1.
Ezio Melotti [Thu, 10 Mar 2011 11:46:50 +0000 (13:46 +0200)]
Port a couple of changes from 3.1.

13 years agoBackport from 3.2 several improvements and fixes for unittest.rst.
Ezio Melotti [Thu, 10 Mar 2011 10:16:35 +0000 (12:16 +0200)]
Backport from 3.2 several improvements and fixes for unittest.rst.

13 years agoMerge fix for issue #11450
Antoine Pitrou [Wed, 9 Mar 2011 11:47:20 +0000 (12:47 +0100)]
Merge fix for issue #11450

13 years agoIssue #11450: Don't truncate hg version info in Py_GetBuildInfo() when
Antoine Pitrou [Wed, 9 Mar 2011 11:34:41 +0000 (12:34 +0100)]
Issue #11450: Don't truncate hg version info in Py_GetBuildInfo() when
there are many tags (e.g. when using mq).  Patch by Nadeem Vawda.

13 years agoIssue #5622: merge fix from 3.1.
Ned Deily [Wed, 9 Mar 2011 10:42:23 +0000 (02:42 -0800)]
Issue #5622: merge fix from 3.1.

13 years agoIssue #5622: Fix curses.wrapper to raise correct exception if curses
Ned Deily [Wed, 9 Mar 2011 10:36:51 +0000 (02:36 -0800)]
Issue #5622: Fix curses.wrapper to raise correct exception if curses
initialization fails.

13 years agoIssue #11444: Merge fix from 3.1.
Vinay Sajip [Tue, 8 Mar 2011 22:53:21 +0000 (22:53 +0000)]
Issue #11444: Merge fix from 3.1.

13 years agoIssue #11444: Lock handlers while flushing/closing during shutdown.
Vinay Sajip [Tue, 8 Mar 2011 22:49:57 +0000 (22:49 +0000)]
Issue #11444: Lock handlers while flushing/closing during shutdown.

13 years ago#11298: Improve the unittest discovery explanation.
Ezio Melotti [Tue, 8 Mar 2011 14:17:35 +0000 (16:17 +0200)]
#11298: Improve the unittest discovery explanation.

13 years agomerge 3.1
Benjamin Peterson [Tue, 8 Mar 2011 04:51:59 +0000 (22:51 -0600)]
merge 3.1

13 years agotransform izip_longest #11424
Benjamin Peterson [Tue, 8 Mar 2011 04:50:37 +0000 (22:50 -0600)]
transform izip_longest #11424

13 years ago#Issue 11424: added equivalent fixes for dictConfig.
Vinay Sajip [Mon, 7 Mar 2011 18:02:57 +0000 (18:02 +0000)]
#Issue 11424: added equivalent fixes for dictConfig.

13 years ago#Issue 11424: merged fix from 3.1.
Vinay Sajip [Mon, 7 Mar 2011 17:59:50 +0000 (17:59 +0000)]
#Issue 11424: merged fix from 3.1.

13 years agoIssue #11424: Fix bug in determining child loggers.
Vinay Sajip [Mon, 7 Mar 2011 17:49:33 +0000 (17:49 +0000)]
Issue #11424: Fix bug in determining child loggers.

13 years agomerge 3.1
Benjamin Peterson [Mon, 7 Mar 2011 00:04:10 +0000 (18:04 -0600)]
merge 3.1

13 years agoonly do this sys.stderr replacing on CPython
Benjamin Peterson [Sun, 6 Mar 2011 23:14:30 +0000 (17:14 -0600)]
only do this sys.stderr replacing on CPython

13 years agoMerge 3.1.
Thomas Wouters [Sun, 6 Mar 2011 19:51:24 +0000 (11:51 -0800)]
Merge 3.1.

13 years agoIssue #11411: Fix typo in the Makefile that prevented 'make DESTDIR=' from
Thomas Wouters [Sun, 6 Mar 2011 19:49:15 +0000 (11:49 -0800)]
Issue #11411: Fix typo in the Makefile that prevented 'make DESTDIR=' from
working correctly with a relative path.

13 years agoConvert DOS files to CRLF. This doesn't touch the .hgeol settings, so that the files
Martin v. Löwis [Sun, 6 Mar 2011 11:23:39 +0000 (12:23 +0100)]
Convert DOS files to CRLF. This doesn't touch the .hgeol settings, so that the files
will have the right line ending even if the extension is not active.

13 years agoConvert DOS files to CRLF. This doesn't touch the .hgeol settings, so that the files
Martin v. Löwis [Sun, 6 Mar 2011 10:28:23 +0000 (11:28 +0100)]
Convert DOS files to CRLF. This doesn't touch the .hgeol settings, so that the files
will have the right line ending even if the extension is not active.

13 years agoMerge doc fixes.
Georg Brandl [Sun, 6 Mar 2011 10:12:42 +0000 (11:12 +0100)]
Merge doc fixes.

13 years ago#11294: add missing ERA_T_FMT to locale docs.
Georg Brandl [Sun, 6 Mar 2011 10:09:51 +0000 (11:09 +0100)]
#11294: add missing ERA_T_FMT to locale docs.