Commit graph

43198 commits

Author SHA1 Message Date
Ronald Oussoren
f51738b10e Fix for issue 10684: Folders get deleted when trying to change case with shutil.move (case insensitive file systems only) 2011-05-06 10:23:04 +02:00
Vinay Sajip
89c8862ee5 Close handler opened in test. 2011-05-06 07:19:41 +01:00
Raymond Hettinger
1c7b7f7fbe Userlist.copy() wasn't returning a UserList. 2011-05-05 14:34:35 -07:00
Raymond Hettinger
8cd2e5f751 Sync-up minor code edits with the default branch. 2011-05-05 14:15:12 -07:00
Vinay Sajip
28338fbdba Added additional output to help diagnose buildbot failures. 2011-05-05 21:23:42 +01:00
Raymond Hettinger
102d874999 Sync-up minor code edits with the default branch. 2011-05-05 11:49:12 -07:00
Raymond Hettinger
7c5dc912ba Avoid codec spelling issues by just using the utf-8 default. 2011-05-05 11:38:06 -07:00
Raymond Hettinger
f90ba8a9a2 Avoid codec spelling issues by just using the utf-8 default. 2011-05-05 11:35:50 -07:00
Antoine Pitrou
b596dc7c86 Merge: Use shared testing facilities in test_threading 2011-05-05 20:18:19 +02:00
Antoine Pitrou
c4d7864e0e Use shared testing facilities in test_threading 2011-05-05 20:17:32 +02:00
R David Murray
a4433ee300 Merge: #11873: Improve test regex so random directory names don't cause test to fail 2011-05-05 12:17:50 -04:00
R David Murray
66a18fd801 #11873: Improve test regex so random directory names don't cause test to fail 2011-05-05 11:52:44 -04:00
Nick Coghlan
cb395187d0 Merge from 3.2 2011-05-06 00:03:49 +10:00
Nick Coghlan
fdc2c5596e Remove trailing whitespace 2011-05-06 00:02:12 +10:00
Nick Coghlan
7ceb1804b0 Merge #11647 update from 3.2 2011-05-05 23:58:57 +10:00
Nick Coghlan
0ded3e307b Issue #11647: allow contextmanager objects to be used as decorators as described in the docs. Initial patch by Ysj Ray. 2011-05-05 23:49:25 +10:00
Vinay Sajip
e9a56e8d49 Tweaked timed rollover test to allow for test-time delays. 2011-05-05 14:18:33 +01:00
Vinay Sajip
0372e10684 Improved coverage and fixed bug in HTTPHandler with POST requests. 2011-05-05 12:59:14 +01:00
R David Murray
9cc432d937 Merge #8158: add missing 'description' description to optparse docstring. 2011-05-04 21:08:07 -04:00
R David Murray
3ef4419dc3 Merge #8158: add missing 'description' description to optparse docstring. 2011-05-04 21:07:33 -04:00
R David Murray
fc5ed800d8 #8158: add missing 'description' description to optparse docstring. 2011-05-04 21:06:57 -04:00
R David Murray
a436e713b6 #8158: add missing 'description' description to optparse docstring. 2011-05-04 21:05:52 -04:00
Daniel Stutzbach
3f064693bb #11335: Merge from 3.2: Fix memory leak after key function failure in sort 2011-05-04 12:47:14 -07:00
Daniel Stutzbach
eda70b81d3 #11335: Fix memory leak after key function failure in sort 2011-05-04 12:46:28 -07:00
Victor Stinner
28a8e96378 Issue #11277: oops, fix checksum values of test_zlib on 32 bits 2011-05-04 21:40:36 +02:00
Victor Stinner
7fd90c403d Issue #11277: test_zlib tests a buffer of 1 GB on 32 bits
(instead of a buffer of 2 GB)
2011-05-04 21:27:39 +02:00
Antoine Pitrou
fc20b0c65c Issue #1856: Avoid crashes and lockups when daemon threads run while the
interpreter is shutting down; instead, these threads are now killed when
they try to take the GIL.
2011-05-04 20:04:29 +02:00
Antoine Pitrou
0d5e52d346 Issue #1856: Avoid crashes and lockups when daemon threads run while the
interpreter is shutting down; instead, these threads are now killed when
they try to take the GIL.
2011-05-04 20:02:30 +02:00
Ezio Melotti
2c173bad9d #11985: merge with 3.2. 2011-05-04 18:39:59 +03:00
Ezio Melotti
e548f5a001 #11985: merge with 3.1. 2011-05-04 18:39:29 +03:00
Ezio Melotti
f16898bc80 #11985: update docstring of platform.python_implementation. 2011-05-04 18:37:50 +03:00
Ezio Melotti
6fa0947285 #11985: update docstring of platform.python_implementation. 2011-05-04 18:37:50 +03:00
Éric Araujo
39f180bb1f Fix display of html.parser.HTMLParser.feed docstring 2011-05-04 15:55:47 +02:00
Victor Stinner
fb5d3e75bb Issue #11277: fix issue number in a test_zlib comment 2011-05-04 14:02:11 +02:00
Victor Stinner
4e86d5b88d Replace open(filename, 'rU') by open(filename, 'r')
The U flag is no more used (but still accepted for backward compatibility).
2011-05-04 13:55:36 +02:00
Ezio Melotti
df8a8f768d #11982: fix json.loads('""') to return u'' rather than ''. 2011-05-04 14:40:53 +03:00
Victor Stinner
35b300c5fd Issue #8407: signal.pthread_sigmask() returns a set instead of a list
Update the doc. Refactor also related tests.
2011-05-04 13:20:35 +02:00
Victor Stinner
6fd49e152a Issue #11998, issue #8407: workaround _tkinter issue in test_signal
The _tkinter module loads the Tcl library which creates a thread waiting events
in select(). This thread receives signals blocked by all other threads. We
cannot test blocked signals if the _tkinter module is loaded.
2011-05-04 12:38:03 +02:00
Victor Stinner
55b5fa76a7 regrtest: dump all threads on a crash, not only the current thread 2011-05-04 11:02:12 +02:00
Mark Dickinson
5bc7a44477 test_math.py: Use correct signs on zeros for expected fmod results. 2011-05-03 21:13:40 +01:00
Mark Dickinson
0cc28b7a34 Remove an unused import and an unused local definition from test_math.py. 2011-05-03 21:02:51 +01:00
Raymond Hettinger
e7a2430dde Fix __hash__ in functools.cmp_to_key() to work with collections.Hashable. 2011-05-03 11:16:36 -07:00
Raymond Hettinger
003be52932 Fix __hash__ in functools.cmp_to_key() to work with collections.Hashable. 2011-05-03 11:01:32 -07:00
Victor Stinner
e4163e2c8d Issue #10276: Fix test_zlib, m may be undefined in the finally block 2011-05-03 17:25:28 +02:00
Victor Stinner
f44ce8748d Issue #8407: disable faulthandler timeout thread on all platforms
The problem is not specific to Mac OS X.
2011-05-03 17:20:31 +02:00
Antoine Pitrou
441f935228 Fix typo in name of private function 2011-05-03 16:35:43 +02:00
Antoine Pitrou
b87a56a519 Fix typo in name of private function 2011-05-03 16:34:42 +02:00
Victor Stinner
f9fb43492c Issue #10276: test_zlib checks that inputs of 2 GB are handled correctly by
crc32() and adler32(). Patch written by Steffen Daode Nurpmeso.
2011-05-03 15:19:23 +02:00
Victor Stinner
0a92d1849e Issue #8651: PyArg_Parse*() functions raise an OverflowError if the file
doesn't have PY_SSIZE_T_CLEAN define and the size doesn't fit in an int (length
bigger than 2^31-1 bytes).
2011-05-03 15:09:24 +02:00
Victor Stinner
d0e516db50 Issue #8407: pthread_sigmask() checks immediatly if signal handlers have been
called. The test checks that SIG_UNBLOCK calls immediatly the signal handler of
the pending SIGUSR1. Improve also the tests using an exception (division by
zero) instead of a flag (a function attribute).
2011-05-03 14:57:12 +02:00