brian.curtin
90e31a7cf8
Add NEWS item for #5162 .
2011-04-11 18:19:38 -05:00
brian.curtin
f7eac1ffb4
Add NEWS item for #5162 .
2011-04-11 18:18:20 -05:00
brian.curtin
628f980635
Add NEWS item for #5162 .
2011-04-11 18:09:24 -05:00
brian.curtin
80e478362b
Fix #5162 . Allow child spawning from Windows services (via pywin32).
2011-04-11 17:59:01 -05:00
brian.curtin
727b498102
Fix #5162 . Allow child spawning from Windows services (via pywin32).
2011-04-11 17:57:59 -05:00
brian.curtin
e2f299845d
Fix #5162 . Allow child spawning from Windows services (via pywin32).
2011-04-11 17:56:23 -05:00
Raymond Hettinger
2498c9f06e
Issue #11747 : Fix range formatting in context and unified diffs.
2011-04-11 12:42:59 -07:00
Raymond Hettinger
49353d0e8f
Issue #11747 : Fix range formatting in context and unified diffs.
2011-04-11 12:40:58 -07:00
Vinay Sajip
a3359eec7d
Whitespace normalized.
2011-04-11 08:43:52 +01:00
Vinay Sajip
4a0a31df5c
Added 'handlers' argument to logging.basicConfig.
2011-04-11 08:42:07 +01:00
Reid Kleckner
98707c2ced
Add Misc/NEWS "What's New" entry for subprocess timeouts.
2011-04-10 22:23:08 -04:00
Ezio Melotti
d60b74cb66
Merge with 3.2.
2011-04-11 03:51:14 +03:00
Ezio Melotti
fdb2df49bd
Remove unnecessary call to PyErr_Clear.
2011-04-11 03:48:57 +03:00
Raymond Hettinger
8362eb1657
Merge
2011-04-10 17:24:14 -07:00
Raymond Hettinger
e2b63e232e
Cleanup and modernize code prior to working on Issue 11747.
2011-04-10 17:23:32 -07:00
Raymond Hettinger
47e120e70c
Cleanup and modernize code prior to working on Issue 11747.
2011-04-10 17:14:56 -07:00
Antoine Pitrou
753009a657
Merge from 3.2 (issue #11814 , issue #8428 )
2011-04-11 00:22:08 +02:00
Antoine Pitrou
bed9a5b6b3
Issue #11814 : Fix likely typo in multiprocessing.Pool._terminate().
2011-04-11 00:20:23 +02:00
Antoine Pitrou
81dee6b4d4
Issue #8428 : Fix a race condition in multiprocessing.Pool when terminating
...
worker processes: new processes would be spawned while the pool is being
shut down. Patch by Charles-François Natali.
2011-04-11 00:18:59 +02:00
R David Murray
eb9e074dca
Use stock assertEqual instead of custom ndiffAssertEqual.
...
Eventually I'll actually replace the calls in the tests themselves.
2011-04-10 15:28:29 -04:00
Ezio Melotti
88fdeb45ef
#2650 : re.escape() no longer escapes the "_".
2011-04-10 12:59:16 +03:00
Ross Lagerwall
344d26c7a0
Merge with 3.2
2011-04-10 09:34:35 +02:00
Ross Lagerwall
810b94a364
Issue #11818 : Fix tempfile examples for Python 3.
2011-04-10 09:30:04 +02:00
Eli Bendersky
dd97fbb2dc
Issue #9904 : fix and clarify some comments + fix indentation in symtable code
2011-04-10 07:37:26 +03:00
Raymond Hettinger
1929983518
Beautify and modernize the SequenceMatcher example
2011-04-09 19:41:31 -07:00
Raymond Hettinger
dbb677a894
Beautify and modernize the SequenceMatcher example
2011-04-09 19:41:00 -07:00
Ned Deily
4e6aba6f63
Issue9670: Merge backout from 3.2.
2011-04-09 14:58:04 -07:00
Ned Deily
2604e33f30
Issue9670: Merge backout to 3.2.
2011-04-09 14:53:47 -07:00
Ned Deily
45e47e58ed
Issue9670: Back out changeset 378b40d71175; test fails on other platforms
...
and on OS X with pydebug.
2011-04-09 14:50:59 -07:00
Antoine Pitrou
131a6414dd
Issue #11757 : select.select() now raises ValueError when a negative timeout
...
is passed (previously, a select.error with EINVAL would be raised). Patch
by Charles-François Natali.
2011-04-09 23:49:58 +02:00
Raymond Hettinger
c6a726d061
Replace constant tuple with constant set.
2011-04-09 13:00:17 -07:00
Raymond Hettinger
a56328680d
Fix nit (make spelling consistent in prototype)
2011-04-09 12:57:00 -07:00
Ned Deily
6e678b4395
Issue #9670 : merge with current
2011-04-09 12:47:12 -07:00
Ned Deily
15012a67d2
Issue #9670 : merge with 3.2
2011-04-09 12:37:55 -07:00
Ned Deily
517ac72b00
Issue #9670 : Increase the default stack size for secondary threads on
...
Mac OS X and FreeBSD to reduce the chances of a crash instead of a
"maximum recursion depth" RuntimeError exception.
(Patch by Ronald Oussoren)
2011-04-09 12:32:12 -07:00
Ross Lagerwall
b2a290c329
Merge with 3.2
2011-04-09 20:12:43 +02:00
Ross Lagerwall
226580e6dc
Merge with 3.1
2011-04-09 20:05:04 +02:00
Ross Lagerwall
e620d10701
Issue #11719 : Fix message about unexpected test_msilib skip.
...
Patch by Nadeem Vawda.
2011-04-09 19:30:03 +02:00
Victor Stinner
4ae3b447c8
(Merge 3.2) Issue #11650 : PyOS_StdioReadline() retries fgets() if it was
...
interrupted (EINTR), for example if the program is stopped with CTRL+z on Mac
OS X. Patch written by Charles-Francois Natali.
2011-04-09 16:01:55 +02:00
Victor Stinner
a870e35a7d
(Merge 3.1) Issue #11650 : PyOS_StdioReadline() retries fgets() if it was
...
interrupted (EINTR), for example if the program is stopped with CTRL+z on Mac
OS X. Patch written by Charles-Francois Natali.
2011-04-09 15:59:25 +02:00
Victor Stinner
52c950f229
Issue #11650 : PyOS_StdioReadline() retries fgets() if it was interrupted
...
(EINTR), for example if the program is stopped with CTRL+z on Mac OS X. Patch
written by Charles-Francois Natali.
2011-04-09 15:55:44 +02:00
Victor Stinner
a4de6d885f
Improve faulthandler.enable(all_threads=True)
...
faulthandler.enable(all_threads=True) dumps the tracebacks even if it is not
possible to get the state of the current thread
Create also the get_thread_state() subfunction to factorize the code.
2011-04-09 00:47:23 +02:00
Victor Stinner
c790a5346d
faulthandler: dump_tracebacks_later() displays also the timeout
2011-04-08 13:39:59 +02:00
Victor Stinner
941893291a
faulthandler: fix variable name, timeout_ms => timeout_us
...
The comment was already correct.
2011-04-08 13:00:31 +02:00
Victor Stinner
de10f4054b
faulthandler: one more time, fix usage of locks in the watchdog thread
...
* Write a new test to ensure that dump_tracebacks_later() still works if
it was already called and then cancelled before
* Don't use a variable to check the status of the thread, only rely on locks
* The thread only releases cancel_event if it was able to acquire it (if
the timer was interrupted)
* The main thread always hold this lock. It is only released when
faulthandler_thread() is interrupted until this thread exits, or at Python
exit.
2011-04-08 12:57:06 +02:00
Victor Stinner
cfa7123ef1
faulthandler: fix unregister() if it is called before register()
...
Fix a crash: don't read from NULL.
2011-04-08 12:48:15 +02:00
R David Murray
7ede59d77a
Merge #11492 : fix header truncation on folding when there are runs of split chars.
...
Not a complete fix for this issue.
2011-04-07 21:00:33 -04:00
R David Murray
80221ed0c0
Merge #11492 : fix header truncation on folding when there are runs of split chars.
...
Not a complete fix for this issue.
2011-04-07 20:56:31 -04:00
R David Murray
e1292a25d8
#11492 : fix header truncation on folding when there are runs of split chars.
...
Not a complete fix for this issue.
2011-04-07 20:54:03 -04:00
R David Murray
63d320b44f
Merge: Improve test coverage of _split_ascii method.
2011-04-07 20:42:28 -04:00