[issue16327] subprocess.Popen leaks file descriptors on os.fork() failure

Jesús Cea Avión report at bugs.python.org
Fri Oct 26 03:24:31 CEST 2012


Jesús Cea Avión added the comment:

http://stackoverflow.com/questions/8997431/is-there-any-way-to-access-nested-or-re-raised-exceptions-in-python

"""
This is known as Exception Chaining and is suported in Python 3.

PEP 3134: http://www.python.org/dev/peps/pep-3134/

In Python 2, the old exception is lost when you raise a new one, unless you save it in the except block.
"""

----------

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


More information about the Python-bugs-list mailing list