Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment:

- The patch corrects a specific case, but not others: for example if the 
file is opened in "r" (text) mode.
There are also other methods to test: peek(), read1()...

- It should use
   self._checkClosed()
which already raises the same exception with the same message.

----------
nosy: +amaury.forgeotdarc

_______________________________________
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

Reply via email to