Commit graph

8044 commits

Author SHA1 Message Date
Victor Stinner
ccbf475dfd Fix imp.cache_from_source() if the directory name contains a dot
If the directory name contains a dot but not the filename, don't strip at the
dot.
2011-03-14 15:05:12 -04:00
Senthil Kumaran
833d91204f closes issue11609. buildbot related failures in the test_urllibnet. 2011-03-20 06:13:36 +08:00
Senthil Kumaran
a7f43cc09c branch merge 3.2 2011-03-20 05:33:09 +08:00
Senthil Kumaran
acbaa923b8 Call unfakehttp in order to close connection while opening the connection through a fakehttp object.
Address issue11609 - urllib related buildbots failure.
2011-03-20 05:30:16 +08:00
Antoine Pitrou
89ba56d5fb Skip crasher tests 2011-03-19 19:54:01 +01:00
Antoine Pitrou
1679f4daa1 Issue #11459: A bufsize value of 0 in subprocess.Popen() really creates
unbuffered pipes, such that select() works properly on them.
2011-03-19 17:06:22 +01:00
Antoine Pitrou
7b98d02302 Issue #11459: A bufsize value of 0 in subprocess.Popen() really creates
unbuffered pipes, such that select() works properly on them.
2011-03-19 17:04:13 +01:00
Antoine Pitrou
877766dee8 Issue #11459: A bufsize value of 0 in subprocess.Popen() really creates
unbuffered pipes, such that select() works properly on them.
2011-03-19 17:00:37 +01:00
Senthil Kumaran
a4d5b0cb62 Closes issue11563 test_urllibnet is triggering a ResourceWarning. Patch by Jeff McNeil. 2011-03-19 17:47:26 +08:00
Senthil Kumaran
d91ffcafcb Closes issue11563 - test_urllibnet ResourceWarning. Patch by Jeff McNeil. 2011-03-19 17:25:27 +08:00
Nick Coghlan
952c0782b3 Last attempt to get compiler recursion crasher to fail reliably across platforms before giving up and skipping it as unreliably platform dependent 2011-03-19 15:22:59 +10:00
briancurtin
f84f3c3d2d Fix #11596. When bz2 isn't available, skip test_bz2_ext_fake. 2011-03-18 13:03:17 -05:00
Ross Lagerwall
7807c3545d Issue #10812: Add some extra posix functions to the os module. 2011-03-17 20:20:30 +02:00
Brett Cannon
eb8cee8383 merge 2011-03-17 11:16:38 -07:00
Nick Coghlan
f694a409aa Give more info in verbose mode when checking crashers, and stress the stack even more in the compiler crasher 2011-03-17 11:04:34 -04:00
Nick Coghlan
bab07a652d Tidy up merge with remote 2011-03-16 22:11:09 -04:00
Nick Coghlan
b3c728fd89 Close #11577: Improve binhex test coverage and fix ResourceWarning 2011-03-16 21:26:40 -04:00
Brett Cannon
ecc2db5152 Remove an overly specific exception message test. 2011-03-16 20:11:52 -04:00
Nick Coghlan
c95ec3d560 Exercise crashers to ensure they are still covering known error cases 2011-03-16 19:52:14 -04:00
R David Murray
832ebeb9d4 Merge #11578 test from 3.2. 2011-03-16 17:33:24 -04:00
R David Murray
a88da67bcb #11578: add unit tests for timeit module.
Patch by Michael Henry.
2011-03-16 17:32:27 -04:00
Michael Foord
4b31818042 merge 3.2 2011-03-16 17:28:51 -04:00
Michael Foord
07926f024a Closes issue 11503. Improves test coverage of posixpath. 2011-03-16 17:19:16 -04:00
Reid Kleckner
da9ac728a8 Bump up the subprocess timeouts even more. :( 2011-03-16 17:08:21 -04:00
Reid Kleckner
2b228f0d9b Include the timeout value in TimeoutExpired.
This was the original intention, but it wasn't threaded all the way through due
to 'endtime'.  Also added a trivial assertion to get coverage of __str__.
2011-03-16 16:57:54 -04:00
Nick Coghlan
7462fa654b Backport improved test coverage for string.py 2011-03-16 14:30:45 -04:00
Nick Coghlan
e047f66644 Merge fix for #11560 from 3.2 2011-03-16 14:06:31 -04:00
Nick Coghlan
8ed3cf3a4b Close #11560: Improve test coverage of shutil 2011-03-16 14:05:35 -04:00
Nick Coghlan
1d7a8879c6 Merge from remote 2011-03-16 13:55:58 -04:00
Nick Coghlan
7bfa67f380 Merge fix for #11548 from 3.2 2011-03-16 13:55:03 -04:00
Nick Coghlan
abf202d798 Close #11548: Correctly handle format argument in shutil.unpack_archive 2011-03-16 13:52:20 -04:00
Ross Lagerwall
ba102ec10d Issue #5870: Add subprocess.DEVNULL constant. 2011-03-16 18:40:25 +02:00
Ezio Melotti
b88ed1549e #11565: Merge with 3.2. 2011-03-16 11:38:59 +02:00
Ezio Melotti
3b3499ba69 #11565: Merge with 3.1. 2011-03-16 11:35:38 +02:00
Ezio Melotti
13925008dc #11565: Fix several typos. Patch by Piotr Kasprzyk. 2011-03-16 11:05:33 +02:00
Jesus Cea
607476bf1d Merge: Close issue #8600: test_gdb failures because innocuous warnings 2011-03-16 01:34:29 +01:00
Jesus Cea
cee3655568 Close issue #8600: test_gdb failures because innocuous warnings 2011-03-16 01:33:16 +01:00
Michael Foord
ed1fce2ee5 merge 3.2 2011-03-15 19:22:19 -04:00
Michael Foord
dcebe0f2dc Closes issue 11133. Fixes two cases where inspect.getattr_static could trigger code execution 2011-03-15 19:20:44 -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
Raymond Hettinger
29dcaad6eb Issue 11510: Fix BUILD_SET optimizer bug. 2011-03-15 14:50:16 -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