Commit graph

24500 commits

Author SHA1 Message Date
Brett Cannon
71f1363c34 merge 2011-03-15 16:03:32 -04:00
Brett Cannon
b880c1558e Add warnings support to test.support.args_from_interpreter_flags().
This allows the -j flag to regrtest to propagate warnings settings
properly.
2011-03-15 16:03:09 -04:00
Brett Cannon
d47af53126 Move off of assertEquals() and over to assertEqual(). 2011-03-15 15:55:12 -04:00
Gregory P. Smith
c15799f88a merge heads 2011-03-15 15:51:26 -04:00
Benjamin Peterson
e97a5b2bda merge heads 2011-03-15 14:45:20 -05:00
Benjamin Peterson
d6afe724cb improve dis test coverage (closes #11559)
Thanks Matias Bordese. (a few modifications of my own)
2011-03-15 14:44:52 -05:00
Gregory P. Smith
3b4652e074 revert the test_main() change from 08daf3ef6509 so that regrtest continues to run this properly. 2011-03-15 15:43:39 -04:00
Gregory P. Smith
6466a5268a merge update 2011-03-15 15:35:27 -04:00
Barry Warsaw
254800e150 Merge and resolve Misc/NEWS. 2011-03-15 15:22:42 -04:00
Barry Warsaw
1f5c958721 - Issue #11289: smtp.SMTP class becomes a context manager so it can be used
in a `with` statement.  Contributed by Giampaolo Rodola.
2011-03-15 15:04:44 -04:00
Gregory P. Smith
112bb3ac6a Add unittests demonstrating issue #11432. 2011-03-15 14:55:17 -04:00
R David Murray
df1d00a1e3 Merge #11554 test_email_codecs activation from 3.2. 2011-03-15 12:24:47 -04:00
briancurtin
5eb3591a41 Adjust test names to be more descriptive instead of depending on capitalization. 2011-03-15 10:59:36 -04:00
Benjamin Peterson
eb46288a8d import style nits 2011-03-15 09:50:18 -05:00
briancurtin
906f0c45fd Fix #11509. Significantly increase test coverage for fileinput.
Patch by Denver Coneybeare at the PyCon 2011 Sprints.
2011-03-15 10:29:41 -04:00
Eric V. Smith
2e3112f120 Typo. 2011-03-15 04:16:42 -04:00
Gregory P. Smith
58e317ba92 merge 1579808ef25b 2011-03-15 02:15:13 -04:00
Ezio Melotti
373089239b #11515: Merge with 3.2. 2011-03-15 06:03:08 +02:00
Reid Kleckner
a9b3a1c49d Merge with hg.python.org. 2011-03-14 19:34:13 -04:00
Reid Kleckner
93479ccbf0 Tweak subprocess test timeouts to satisfy the buildbot. 2011-03-14 19:32:41 -04:00
Nick Coghlan
5596a8c179 Merge with remote 2011-03-15 08:59:20 +10:00
Nick Coghlan
d25fd4d710 Close #11505: Improve string.py coverage 2011-03-15 08:54:37 +10:00
Ronald Oussoren
ba3a978fc1 Issue #11500: Fixed a bug in the os x proxy bypass code for fully qualified IP addresses in the proxy exception list. 2011-03-14 18:48:31 -04:00
R David Murray
750beda535 Merge #11496 from 3.2. 2011-03-14 17:14:29 -04:00
briancurtin
30bb6e0360 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.
2011-03-14 16:36:31 -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
R David Murray
af9be20060 Merge #11488 patch from 3.2. 2011-03-14 09:58:59 -04:00
R David Murray
74fb7601ba Merge whitespace fix from 3.2. 2011-03-13 22:49:44 -04:00
R David Murray
dcd79a2d15 Merge fix for #11490 from 3.2. 2011-03-13 22:31:35 -04:00
Antoine Pitrou
f74dee4b88 Merge commit for #11233 2011-03-13 19:16:03 +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
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
Giampaolo Rodolà
7a2114719d #8594: fix ResourceWarning in test_ftplib.py - patch by Nadeem Vawda. 2011-03-08 21:33:21 +01:00
Vinay Sajip
4bcfb92168 Issue #11424: Merged fix from 3.2. 2011-03-07 18:14:36 +00:00
Vinay Sajip
44b740ff28 #Issue 11424: merged fix from 2.6. 2011-03-07 15:07:58 +00:00
Vinay Sajip
8dd2a40bc7 Issue #11424: Fix bug in determining child loggers. 2011-03-07 15:02:11 +00: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
d6f3a3e3a8 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 02:03:34 +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