[issue6361] I/O object wrappers shouldn't close their underlying file when deleted.

Antoine Pitrou report at bugs.python.org
Mon Jun 29 13:46:07 CEST 2009


Antoine Pitrou <pitrou at free.fr> added the comment:

You can call the detach() method if you don't want to the underlying
stream to be closed.
We could also add a close_parent attribute defaulting to True.

----------
components: +IO
nosy: +benjamin.peterson, pitrou
type: behavior -> feature request

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


More information about the Python-bugs-list mailing list