]> granicus.if.org Git - python/log
python
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 agoTypos.
Eric V. Smith [Mon, 14 Mar 2011 14:56:33 +0000 (10:56 -0400)]
Typos.

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.

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

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

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

14 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

14 years ago#1162477: accept '.' in addition to ':' when parsing time in date header.
R David Murray [Mon, 14 Mar 2011 00:06:23 +0000 (20:06 -0400)]
#1162477: accept '.' in addition to ':' when parsing time in date header.

Some non-compliant MUAs use '.'s, so by the Postel Principle we should
accept them.  Patch by Thomas Herve.

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

14 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

14 years agouse only the hex version, since the revno is unreliable across repos
Benjamin Peterson [Sun, 13 Mar 2011 21:36:08 +0000 (16:36 -0500)]
use only the hex version, since the revno is unreliable across repos

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

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

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

14 years agoMerge commit for #11233
Antoine Pitrou [Sun, 13 Mar 2011 18:16:03 +0000 (19:16 +0100)]
Merge commit for #11233

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

14 years agoIssue #7391: Remove outdated HOWTO with permission of its author.
Raymond Hettinger [Sun, 13 Mar 2011 03:31:06 +0000 (22:31 -0500)]
Issue #7391:  Remove outdated HOWTO with permission of its author.

14 years agomerge heads
Benjamin Peterson [Sun, 13 Mar 2011 00:35:48 +0000 (18:35 -0600)]
merge heads

14 years agobump ast version
Benjamin Peterson [Sun, 13 Mar 2011 00:35:23 +0000 (18:35 -0600)]
bump ast version

14 years agoactually get file rev
Benjamin Peterson [Sun, 13 Mar 2011 00:35:02 +0000 (18:35 -0600)]
actually get file rev

14 years agoMerge with 3.2.
Ezio Melotti [Sun, 13 Mar 2011 00:29:11 +0000 (02:29 +0200)]
Merge with 3.2.

14 years agoconvert ast versioning to mercurial
Benjamin Peterson [Sun, 13 Mar 2011 00:28:16 +0000 (18:28 -0600)]
convert ast versioning to mercurial

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

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

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

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

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

14 years agomerge 3.2
Benjamin Peterson [Sat, 12 Mar 2011 17:59:10 +0000 (11:59 -0600)]
merge 3.2

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

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

14 years agoIssue 9856: Change object.__format__ with a non-empty format string from a PendingDep...
Eric V. Smith [Sat, 12 Mar 2011 15:08:48 +0000 (10:08 -0500)]
Issue 9856: Change object.__format__ with a non-empty format string from a PendingDeprecationWarning to a DeprecationWarning.

14 years agoFix example in atexit doc: Both open and read could raise the IOError (#10461 follow...
Éric Araujo [Sat, 12 Mar 2011 14:56:09 +0000 (15:56 +0100)]
Fix example in atexit doc: Both open and read could raise the IOError (#10461 follow-up).

Thanks to SilenGhost for catching this.

14 years agoMerge #11131
Mark Dickinson [Sat, 12 Mar 2011 11:18:46 +0000 (11:18 +0000)]
Merge #11131

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

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

14 years agoRecording the merge.
Senthil Kumaran [Sat, 12 Mar 2011 03:44:09 +0000 (11:44 +0800)]
Recording the merge.

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

14 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

14 years agoFix issue11283 - Clarifying a re pattern in the re module docs for conditional regex
orsenthil@gmail.com [Sat, 12 Mar 2011 02:46:25 +0000 (10:46 +0800)]
Fix issue11283 - Clarifying a re pattern in the re module docs for conditional regex

14 years agomerge
Brett Cannon [Fri, 11 Mar 2011 22:46:21 +0000 (17:46 -0500)]
merge

14 years agoRemove a now unneeded tweak to test_zipimport_support in order to not
Brett Cannon [Fri, 11 Mar 2011 22:44:43 +0000 (17:44 -0500)]
Remove a now unneeded tweak to test_zipimport_support in order to not
fail under tracing.

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

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

14 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

14 years agoIssue #9935: Speed up pickling of instances of user-defined classes.
Antoine Pitrou [Fri, 11 Mar 2011 20:30:43 +0000 (21:30 +0100)]
Issue #9935: Speed up pickling of instances of user-defined classes.

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

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

14 years ago#11446: merge with 3.2.
Ezio Melotti [Fri, 11 Mar 2011 18:56:58 +0000 (20:56 +0200)]
#11446: merge with 3.2.

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

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

14 years agoUse with statement where it improves the documentation (closes #10461)
Éric Araujo [Fri, 11 Mar 2011 16:42:48 +0000 (17:42 +0100)]
Use with statement where it improves the documentation (closes #10461)

14 years agoIssue #11244: The peephole optimizer is now able to constant-fold
Antoine Pitrou [Fri, 11 Mar 2011 16:27:02 +0000 (17:27 +0100)]
Issue #11244: The peephole optimizer is now able to constant-fold
arbitrarily complex expressions.  This also fixes a 3.2 regression where
operations involving negative numbers were not constant-folded.

14 years agodummy merge from 3.2
Eli Bendersky [Fri, 11 Mar 2011 14:42:13 +0000 (16:42 +0200)]
dummy merge from 3.2

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

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

14 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

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

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

14 years ago#11435: Merge with 3.2
Ezio Melotti [Fri, 11 Mar 2011 13:17:25 +0000 (15:17 +0200)]
#11435: Merge with 3.2

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

14 years ago?
R David Murray [Thu, 10 Mar 2011 23:21:45 +0000 (18:21 -0500)]
?

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

14 years agoMerge heads
R David Murray [Thu, 10 Mar 2011 23:08:10 +0000 (18:08 -0500)]
Merge heads

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

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

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

14 years agoDummy merge with 3.2.
Ezio Melotti [Thu, 10 Mar 2011 21:51:48 +0000 (23:51 +0200)]
Dummy merge with 3.2.

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

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

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

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

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

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

14 years agoRemove unused import.
Eric V. Smith [Thu, 10 Mar 2011 13:44:08 +0000 (08:44 -0500)]
Remove unused import.

14 years agoMerge from 3.2.
Ezio Melotti [Thu, 10 Mar 2011 11:54:21 +0000 (13:54 +0200)]
Merge from 3.2.

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

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

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

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

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

14 years agoIssue #5622: merge fix from 3.2.
Ned Deily [Wed, 9 Mar 2011 10:49:59 +0000 (02:49 -0800)]
Issue #5622: merge fix from 3.2.

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

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

14 years agoIssue #11444: Merge fix from 3.2.
Vinay Sajip [Tue, 8 Mar 2011 22:54:11 +0000 (22:54 +0000)]
Issue #11444: Merge fix from 3.2.

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

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

14 years ago#8594: fix ResourceWarning in test_ftplib.py - patch by Nadeem Vawda.
Giampaolo Rodolà [Tue, 8 Mar 2011 20:33:21 +0000 (21:33 +0100)]
#8594: fix ResourceWarning in test_ftplib.py - patch by Nadeem Vawda.

14 years ago#11298: merge from 3.2.
Ezio Melotti [Tue, 8 Mar 2011 14:49:57 +0000 (16:49 +0200)]
#11298: merge from 3.2.

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

14 years agomerge heads
Benjamin Peterson [Tue, 8 Mar 2011 04:52:41 +0000 (22:52 -0600)]
merge heads

14 years agomerge 3.2
Benjamin Peterson [Tue, 8 Mar 2011 04:52:31 +0000 (22:52 -0600)]
merge 3.2

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

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

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