[issue22685] memory leak: no transport for pipes by create_subprocess_exec/shell

STINNER Victor report at bugs.python.org
Wed Nov 5 16:24:22 CET 2014


STINNER Victor added the comment:

Here is a patch with a simple unit test.

I chose to modify the pause_reading method of the transport instead of mocking "everything" to test the real code (have a better code coverage).

----------
Added file: http://bugs.python.org/file37135/set_transport-2.patch

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


More information about the Python-bugs-list mailing list