[issue5179] subprocess leaves open fds on construction error

Hirokazu Yamamoto report at bugs.python.org
Tue Mar 3 22:04:28 CET 2009


Hirokazu Yamamoto <ocean-city at m2.ccsnet.ne.jp> added the comment:

This issue is not fixed on windows yet. (test_leaking_fds_on_error fails)
I think attached patch will fix this.

======================================================================
ERROR: test_writes_before_communicate (__main__.ProcessTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_subprocess.py", line 398, in test_writes_before_communicate
  File "e:\python-dev\py3k\lib\subprocess.py", line 632, in __init__
  File "e:\python-dev\py3k\lib\subprocess.py", line 746, in _get_handles
IOError: [Errno 24] Too many open files

----------
keywords: +patch
nosy: +ocean-city
priority: high -> release blocker
resolution: fixed -> 
status: closed -> open
versions: +Python 3.0, Python 3.1
Added file: http://bugs.python.org/file13236/fix_subprocess_leak_on_failure_on_windows.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5179>
_______________________________________


More information about the Python-bugs-list mailing list