[issue4604] close() seems to have limited effect
Skip Montanaro
report at bugs.python.org
Wed Dec 10 02:31:52 CET 2008
Skip Montanaro <skip at pobox.com> added the comment:
Amaury> - It should use
Amaury> self._checkClosed()
Amaury> which already raises the same exception with the same message.
I think some other places will need this change then.
Note that I don't know the io code at all. I was just trying to provide a
simple test case and a simple fix. Feel free to generalize it as necessary.
Skip
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4604>
_______________________________________
More information about the Python-bugs-list
mailing list