[issue19575] subprocess.Popen with multiple threads: Redirected stdout/stderr files still open after process close
Bernt Røskar Brenna
report at bugs.python.org
Mon Nov 18 10:40:50 CET 2013
Bernt Røskar Brenna added the comment:
Increasing max_workers to 5 and running 20 tasks highlighs the 3.3-3.4 difference (code in attached file testscript4.py):
Version: 3.4.0a4 (v3.4.0a4:e245b0d7209b, Oct 20 2013, 19:23:45) [MSC v.1600 32 b
it (Intel)]
Platform: Windows-XP-5.1.2600-SP3
Tasks: 20
task_type #threads result
subprocess_redirfile 5 4 errors (of 20)
subprocess_redirfile 1 OK
subprocess_devnull 5 OK
subprocess_devnull 1 OK
subprocess_noredirect 5 OK
subprocess_noredirect 1 OK
nosubprocess 5 OK
nosubprocess 1 OK
Version: 3.3.2 (v3.3.2:d047928ae3f6, May 16 2013, 00:03:43) [MSC v.1600 32 bit (
Intel)]
Platform: Windows-XP-5.1.2600-SP3
Tasks: 20
task_type #threads result
subprocess_redirfile 5 18 errors (of 20)
subprocess_redirfile 1 OK
subprocess_devnull 5 19 errors (of 20)
subprocess_devnull 1 OK
subprocess_noredirect 5 OK
subprocess_noredirect 1 OK
nosubprocess 5 OK
nosubprocess 1 OK
----------
Added file: http://bugs.python.org/file32685/testscript4.py
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19575>
_______________________________________
More information about the Python-bugs-list
mailing list