Commit graph

17350 commits

Author SHA1 Message Date
Gregory P. Smith
5865facfb6 merge default 2011-03-14 14:14:42 -04:00
Gregory P. Smith
54d412edcc Add a SubprocessError base class for exceptions in the subprocess module. 2011-03-14 14:08:43 -04:00
Reid Kleckner
80b92d106e Attempt a larger timeout value to satisfy the buildbots. 2011-03-14 13:34:12 -04:00
Reid Kleckner
8485701714 Merge with default. 2011-03-14 12:12:18 -04:00
Reid Kleckner
31aa7dd141 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.
2011-03-14 12:02:10 -04:00
Eric V. Smith
91f0359ee4 Skip test if zlib not present. Closes #11498. Patch by Natalia B. Bidart. 2011-03-14 11:57:16 -04:00
Eric V. Smith
4169826a00 Typos. 2011-03-14 10:56:33 -04:00
R David Murray
af9be20060 Merge #11488 patch from 3.2. 2011-03-14 09:58:59 -04:00
R David Murray
1a5201f80d Merge #11488 patch from 3.1. 2011-03-14 09:57:03 -04:00
R David Murray
d89ee79d19 #11488: Add tests for writelines method of SpooledTemporaryFile.
Patch by Evan Dandrea.
2011-03-14 09:55:46 -04:00
R David Murray
74fb7601ba Merge whitespace fix from 3.2. 2011-03-13 22:49:44 -04:00
R David Murray
6924bd72f5 Fix whitespace 2011-03-13 22:48:55 -04:00
R David Murray
dcd79a2d15 Merge fix for #11490 from 3.2. 2011-03-13 22:31:35 -04:00
R David Murray
384069c2e8 Merge fix for #11490 from 3.1. 2011-03-13 22:26:53 -04:00
R David Murray
d79210a0e4 #11490: EACCES can also mean command not found 2011-03-13 22:13:09 -04:00
R David Murray
accd1c040f #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.
2011-03-13 20:06:23 -04:00
Antoine Pitrou
f74dee4b88 Merge commit for #11233 2011-03-13 19:16:03 +01:00
Antoine Pitrou
d3cccd2a60 Issue #11223: Fix test_threadsignals to fail, not hang, when the
non-semaphore implementation of locks is used under POSIX.
2011-03-13 19:14:21 +01:00
Eric V. Smith
b9cd3531c4 Issue 9856: Change object.__format__ with a non-empty format string from a PendingDeprecationWarning to a DeprecationWarning. 2011-03-12 10:08:48 -05:00
Mark Dickinson
e8eabe7b16 Merge #11131 2011-03-12 11:18:46 +00:00
Mark Dickinson
a7f0dffb8d Merge #11131 2011-03-12 11:17:26 +00:00
Mark Dickinson
37a79fb75b Issue 11131: Fix sign of zero result on decimal.Decimal plus and minus operations in ROUND_FLOOR rounding mode. 2011-03-12 11:12:52 +00:00
Brett Cannon
755d5129c6 Remove a now unneeded tweak to test_zipimport_support in order to not
fail under tracing.
2011-03-11 17:44:43 -05:00
Antoine Pitrou
16c4ce1903 Issue #9935: Speed up pickling of instances of user-defined classes. 2011-03-11 21:30:43 +01:00
Antoine Pitrou
17b880a5d6 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.
2011-03-11 17:27:02 +01:00
Eric V. Smith
7eecd22411 Remove unused import. 2011-03-10 08:44:08 -05:00
Ned Deily
33cb5c9017 Issue #5622: merge fix from 3.2. 2011-03-09 02:49:59 -08:00
Ned Deily
2d12f96658 Issue #5622: merge fix from 3.1. 2011-03-09 02:42:23 -08:00
Ned Deily
d2853180df Issue #5622: Fix curses.wrapper to raise correct exception if curses
initialization fails.
2011-03-09 02:36:51 -08:00
Vinay Sajip
df309939e5 Issue #11444: Merge fix from 3.2. 2011-03-08 22:54:11 +00:00
Vinay Sajip
d9512e9ac1 Issue #11444: Merge fix from 3.1. 2011-03-08 22:53:21 +00:00
Vinay Sajip
c8ab6eeb01 Issue #11444: Lock handlers while flushing/closing during shutdown. 2011-03-08 22:49:57 +00:00
Giampaolo Rodolà
7a2114719d #8594: fix ResourceWarning in test_ftplib.py - patch by Nadeem Vawda. 2011-03-08 21:33:21 +01:00
Benjamin Peterson
a393bb7718 merge 3.2 2011-03-07 22:52:31 -06:00
Benjamin Peterson
3b59f332b6 merge 3.1 2011-03-07 22:51:59 -06:00
Benjamin Peterson
49d7149e6d transform izip_longest #11424 2011-03-07 22:50:37 -06:00
Vinay Sajip
4bcfb92168 Issue #11424: Merged fix from 3.2. 2011-03-07 18:14:36 +00:00
Vinay Sajip
9f9991c2f5 #Issue 11424: added equivalent fixes for dictConfig. 2011-03-07 18:02:57 +00:00
Vinay Sajip
e783553daa #Issue 11424: merged fix from 3.1. 2011-03-07 17:59:50 +00:00
Vinay Sajip
3f84b07816 Issue #11424: Fix bug in determining child loggers. 2011-03-07 17:49:33 +00:00
Benjamin Peterson
2ae5cffb3a merge 3.1 2011-03-06 18:04:10 -06:00
Benjamin Peterson
c9c8d0edd6 merge 3.1 2011-03-06 17:15:06 -06:00
Benjamin Peterson
d86e4c8673 only do this sys.stderr replacing on CPython 2011-03-06 17:14:30 -06:00
Georg Brandl
776e586114 Remove sys.subversion and svn build identification leftovers. 2011-03-06 10:35:42 +01:00
Georg Brandl
fe09a54280 Merge build identification to default branch. 2011-03-06 10:26:32 +01:00
Georg Brandl
13039c87f1 Merge build identification to 3.2 branch. 2011-03-06 10:13:00 +01:00
Antoine Pitrou
f874debbf3 Merge fix for issue #11391 2011-03-06 01:53:19 +01:00
Antoine Pitrou
80d3610bc3 Merge fix for issue #11391 2011-03-06 01:50:56 +01:00
Antoine Pitrou
7b50c2c6ae Fix buildbot failure following 97a5590b9291 2011-03-06 01:47:18 +01:00
Antoine Pitrou
16a0a0b0a0 Issue #11391: Writing to a mmap object created with
`mmap.PROT_READ|mmap.PROT_EXEC` would segfault instead of raising a
TypeError.  Patch by Charles-François Natali.
2011-03-06 01:11:03 +01:00