Charles-François Natali <neolo...@free.fr> added the comment:

Here's a trivial patch.
I run the testsuite on one of the Windows buildbots, and there was one failure, 
in test_concurrent_futures:

"""
======================================================================
FAIL: test_interpreter_shutdown 
(test.test_concurrent_futures.ProcessPoolShutdownTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"D:\cygwin\home\db3l\buildarea\custom.bolen-windows7\build\lib\test\test_concurrent_futures.py",
 line 109, in test_interpreter_shutdown
    self.assertFalse(err)
AssertionError: b'[68326 refs]\n[68326 refs]\n[68326 refs]\n[68326 
refs]\n[106059 refs]' is not false

----------------------------------------------------------------------
"""

That's simply because test.support.strip_python_stderr only strips the first 
occurrence of the refs count printed in debug mode at output (which didn't get 
printed upon ExitProcess).

The patch changes this.

----------
keywords: +needs review, patch
stage: test needed -> patch review
Added file: http://bugs.python.org/file24460/multiprocessing_exit.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13841>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to