Ezio Melotti
b88ed1549e
#11565 : Merge with 3.2.
2011-03-16 11:38:59 +02:00
Jesus Cea
607476bf1d
Merge: Close issue #8600 : test_gdb failures because innocuous warnings
2011-03-16 01:34:29 +01:00
Michael Foord
ed1fce2ee5
merge 3.2
2011-03-15 19:22:19 -04:00
Brett Cannon
55afb1a263
Undo an accidental commit.
2011-03-15 18:48:52 -04:00
Brett Cannon
f47e3ac7b7
merge
2011-03-15 18:45:59 -04:00
Brett Cannon
b8daeda523
merge
2011-03-15 18:45:38 -04:00
Raymond Hettinger
5bd75b8726
whitespace fix
2011-03-15 15:07:38 -07:00
Raymond Hettinger
f932f747e6
whitespace fix
2011-03-15 15:06:09 -07:00
Raymond Hettinger
0661e91fed
Issue 11510: Fix BUILD_SET optimizer bug.
2011-03-15 15:03:36 -07:00
Brett Cannon
b637680f7e
Properly close a file in test_os.
2011-03-15 17:38:22 -04:00
Brett Cannon
ee877a08e9
Don't leave around a test symlink file.
2011-03-15 17:32:14 -04:00
Brett Cannon
f434ba9e4e
merge
2011-03-15 17:23:21 -04:00
Brett Cannon
f30645d552
Close a stream properly in test.test_pulldom.
...
Closes issue #11550 . Thanks to Ben Hayden for some inspiration on the
solution.
2011-03-15 17:22:52 -04:00
Benjamin Peterson
47afc2af79
PyErr_Print can leave sys.last_traceback hanging around; kill it
2011-03-15 15:54:50 -05:00
Benjamin Peterson
8af4919b37
merge heads
2011-03-15 15:21:03 -05:00
Benjamin Peterson
c217a4b71a
should use 'is' here
2011-03-15 15:18:47 -05:00
Antoine Pitrou
8213cafd62
Merge
2011-03-15 21:10:33 +01:00
Antoine Pitrou
0e63f59492
Merge fix for issue #11501
2011-03-15 21:08:50 +01:00
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