Skip Montanaro <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>
<http://bugs.python.org/issue4604>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com