[issue27122] Hang with contextlib.ExitStack and subprocess.Popen (regression)

Nick Coghlan report at bugs.python.org
Wed Jun 15 14:09:41 EDT 2016


Nick Coghlan added the comment:

There's an existing scenario test at https://hg.python.org/cpython/file/default/Lib/test/test_contextlib.py#l600 and https://hg.python.org/cpython/file/default/Lib/test/test_contextlib.py#l648 that aims to ensure ExitStack unwinding and context setting matches the behaviour of actual with statements.

It wouldn't hurt to add some explicit checks to the new test for this particular bug, though.

----------

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


More information about the Python-bugs-list mailing list