Commit graph

50555 commits

Author SHA1 Message Date
Benjamin Peterson
bd9c655c97 merge heads 2011-07-17 22:50:12 -05:00
Benjamin Peterson
76f7f4d979 excise the remains of STOP_CODE, which hasn't done anything useful for years 2011-07-17 22:49:50 -05:00
Brett Cannon
e52181c05a Add Misc/NEWS entry and relevant doc change for issue 10271. 2011-07-17 19:25:50 -07:00
Brett Cannon
52a7d98273 Make warnings accept a callable for showwarnings instead of
restricting itself to just functions and methods (which allows
built-in functions to be used, etc.).

Closes issue #10271. Thanks to lekma for the bug report.
2011-07-17 19:17:55 -07:00
Alex Gaynor
b05be7d936 Merged upstream. 2011-07-17 16:22:05 -07:00
Alex Gaynor
e151d21883 Mark itertools tests of tuple reuse as being specific to CPython. 2011-07-17 16:21:30 -07:00
Senthil Kumaran
c32aae0d44 fix whitespace in rst. 2011-07-18 07:18:11 +08:00
Senthil Kumaran
3e7f33fc82 fix whitespace nit. 2011-07-18 07:17:20 +08:00
Senthil Kumaran
029b467963 merge from 3.2 - Fix closes Issue12478 - HTTPErrorProcess 's methods are http_response and https_response. 2011-07-18 07:13:21 +08:00
Senthil Kumaran
0215d09ca9 Fix closes Issue12478 - HTTPErrorProcess 's methods are http_response and https_response. 2011-07-18 07:12:40 +08:00
Senthil Kumaran
3121547f42 merge from 3.2 - Fix closes Issue12479 - Add HTTPErrorProcessor class definition - Patch by Sandro Tosi 2011-07-18 06:43:25 +08:00
Senthil Kumaran
ed270fab64 Fix closes Issue12479 - Add HTTPErrorProcessor class definition - Patch by Sandro Tosi 2011-07-18 06:42:46 +08:00
Senthil Kumaran
42d1320c06 merge from 3.2 2011-07-17 19:06:03 +08:00
Senthil Kumaran
023c6f703d Fix Issue10403 - datetime documentation clarification based on review in the reitveld by Alexendar belopolsky. 2011-07-17 19:01:14 +08:00
Senthil Kumaran
87e59cd701 merge from 3.2 2011-07-17 17:32:06 +08:00
Senthil Kumaran
ad3882a2b0 Fix closes Issue11436 - Minor clarification to struct documentation for 's' format character. 2011-07-17 17:29:17 +08:00
Antoine Pitrou
8232d6efcf Merge 2011-07-16 23:56:45 +02:00
Antoine Pitrou
8d613bc987 Dummy merge 2011-07-16 23:52:42 +02:00
Antoine Pitrou
0b447957c7 Close the call queue in concurrent.futures.ProcessPoolExecutor when
shutdown() is called, without waiting for the garbage collector to kick in.
2011-07-16 23:52:02 +02:00
Benjamin Peterson
ddddcab3ec put in correct section 2011-07-15 21:11:35 -05:00
Benjamin Peterson
7dc35f6fea merge heads 2011-07-15 21:10:44 -05:00
Benjamin Peterson
0bd152cd67 remove ast.__version__ (closes #12273) 2011-07-15 21:10:13 -05:00
Antoine Pitrou
dc19c24832 Silence spurious "broken pipe" tracebacks when shutting down a ProcessPoolExecutor. 2011-07-16 01:51:58 +02:00
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