Antoine Pitrou
d06a065a44
Fix potential resource leaks in concurrent.futures.ProcessPoolExecutor
...
by joining all queues and processes when shutdown() is called.
2011-07-16 01:13:34 +02:00
Antoine Pitrou
db535957cd
test_packaging should clean up after itself (but it doesn't really)
2011-07-15 23:26:19 +02:00
Antoine Pitrou
9e42a4dbaa
Fix whitespace
2011-07-15 23:09:58 +02:00
Antoine Pitrou
075050f84f
test_threaded_import must clean up after itself
2011-07-15 23:09:13 +02:00
Antoine Pitrou
f26ad7149f
test_os needs to reap threads
2011-07-15 23:00:56 +02:00
Antoine Pitrou
afed6ecf21
Merge from 3.2
2011-07-15 22:43:33 +02:00
Antoine Pitrou
f7f54759b5
Use test.script_helper in test_pydoc
2011-07-15 22:42:12 +02:00
Antoine Pitrou
a6e81a23b3
test_pydoc needs to cleanup after itself
2011-07-15 22:32:25 +02:00
Antoine Pitrou
707f228b1e
Try harder to reap dangling threads in test.support.reap_threads().
2011-07-15 22:29:44 +02:00
Benjamin Peterson
e720725c12
merge heads
2011-07-15 15:27:58 -05:00
Benjamin Peterson
620b2c8c98
comment which is not applicable anymore
2011-07-15 15:27:34 -05:00
Antoine Pitrou
428bc6c48f
Issue #12573 : Add resource checks for dangling Thread and Process objects.
2011-07-15 22:15:38 +02:00
Antoine Pitrou
c081c0c6a0
Issue #12573 : Add resource checks for dangling Thread and Process objects.
2011-07-15 22:12:24 +02:00
Antoine Pitrou
91fe8157fd
Merge
2011-07-15 21:19:27 +02:00
Antoine Pitrou
b8298a01e6
Merge
2011-07-15 21:19:02 +02:00
Antoine Pitrou
9b43b6e14e
Issue #11603 : Fix a crash when __str__ is rebound as __repr__.
...
Patch by Andreas Stührk.
2011-07-15 21:18:18 +02:00
Antoine Pitrou
ff35050493
Issue #11603 : Fix a crash when __str__ is rebound as __repr__.
...
Patch by Andreas Stührk.
2011-07-15 21:17:14 +02:00
Antoine Pitrou
8cdc40e3b0
Issue #11603 : Fix a crash when __str__ is rebound as __repr__.
...
Patch by Andreas Stührk.
2011-07-15 21:15:07 +02:00
Benjamin Peterson
2ca3ffb098
merge 3.2
2011-07-15 14:11:45 -05:00
Benjamin Peterson
58059197cc
merge heads
2011-07-15 14:11:23 -05:00
Benjamin Peterson
1a41d7d51d
merge heads
2011-07-15 14:10:59 -05:00
Benjamin Peterson
e92cd0ce98
merge 3.2 ( #11627 )
2011-07-15 14:10:35 -05:00
Benjamin Peterson
5afa03a72e
catch nasty exception classes with __new__ that doesn't return a exception ( closes #11627 )
...
Patch from Andreas Stührk.
2011-07-15 14:09:26 -05:00
Antoine Pitrou
874d65afae
Issue #11321 : Fix a crash with multiple imports of the _pickle module when
...
embedding Python. Patch by Andreas Stührk.
2011-07-15 21:02:09 +02:00
Antoine Pitrou
8391cf4e1d
Issue #11321 : Fix a crash with multiple imports of the _pickle module when
...
embedding Python. Patch by Andreas Stührk.
2011-07-15 21:01:21 +02:00
Antoine Pitrou
8f629059db
Make sure to reap worker threads and processes at the end of test_concurrent_futures
2011-07-15 20:26:35 +02:00
Antoine Pitrou
9470ab43a9
Make sure to reap worker threads and processes at the end of test_concurrent_futures
2011-07-15 20:25:20 +02:00
Georg Brandl
5c1190bada
Remove duplicate "numbered" options for toctrees.
2011-07-15 19:09:49 +02:00
Éric Araujo
af5bacf9bb
Always use repr for regrtest resources names
2011-07-15 17:50:15 +02:00
Éric Araujo
eb39294101
Silence 2to3 warnings in packaging tests
2011-07-15 17:49:20 +02:00
Éric Araujo
dccf9855fc
Fix :file: constructs in packaging.database docs
2011-07-15 17:48:20 +02:00
Éric Araujo
fe95848c16
Clear packaging.database caches in place
2011-07-15 17:47:46 +02:00
Victor Stinner
ecf4fdad50
Py_BuildValue("C") supports non-BMP characters on narrow build
...
Py_BuildValue("C") doesn't have to check the code point,
PyUnicode_FromOrdinal() checks its input and now supports non-BMP characters
(range U+10000-U+10FFFF).
2011-07-15 01:13:24 +02:00
Victor Stinner
a7878b77dc
Close #6755 : Add get_wch() method to curses.window class
...
Patch by Iñigo Serna.
2011-07-14 23:07:44 +02:00
Victor Stinner
d33344a030
Add cgi.closelog() function to close the log file
2011-07-14 22:28:36 +02:00
Charles-François Natali
f64f9e9ec1
Merge - Issue #12502 : asyncore: fix polling loop with AF_UNIX sockets.
2011-07-14 20:00:49 +02:00
Charles-François Natali
1f0ccfa853
Merge - Issue #12502 : asyncore: fix polling loop with AF_UNIX sockets.
2011-07-14 19:57:35 +02:00
Charles-François Natali
e22813067e
Issue #12502 : asyncore: fix polling loop with AF_UNIX sockets.
2011-07-14 19:53:38 +02:00
Benjamin Peterson
b6ffa7980f
test that TestCase doesn't get cycles
2011-07-14 12:48:25 -05:00
Benjamin Peterson
31f4beb15e
add a contextmanager to disable the gc
2011-07-14 12:48:01 -05:00
Benjamin Peterson
c917494528
merge 3.2
2011-07-14 10:03:53 -05:00
Benjamin Peterson
eef80b6e70
this should be an identity test
2011-07-14 10:03:35 -05:00
Victor Stinner
bc18838972
(merge 3.2) Issue #12250 : test_socketserver uses a timeout of 60 seconds
...
instead of 20
test_shutdown() may fail on very slow buildbots like FreeBSD 6.4 just because
of the arbitrary timeout.
2011-07-14 15:36:16 +02:00
Ezio Melotti
e73d49d328
Merge with 3.2.
2011-07-14 15:57:12 +03:00
Victor Stinner
5702ae6f3f
Issue #12250 : test_socketserver uses a timeout of 60 seconds instead of 20
...
test_shutdown() may fail on very slow buildbots like FreeBSD 6.4 just because
of the arbitrary timeout.
2011-07-14 14:53:24 +02:00
Ezio Melotti
7ebb706133
Restore the global state of the log vars, so that test_cgi can be run twice without failures.
2011-07-14 15:18:57 +03:00
Benjamin Peterson
d77e2eaa40
merge 3.2
2011-07-13 23:11:14 -05:00
Benjamin Peterson
6e18e04273
carefully cleanup pointer cache after creating struct pointers
2011-07-13 23:09:30 -05:00
Vinay Sajip
bf9c021ddd
Closes #12536 : Unused logger removed from lib2to3.
2011-07-13 23:15:07 +01:00
Ned Deily
07b353716c
Issue #12549 : Correct test_platform to not fail when OS X returns 'x86_64'
...
as the processor type on some Mac systems.
2011-07-13 15:09:49 -07:00