Antoine Pitrou <pit...@free.fr> added the comment: For what it's worth, I documented the possibility to call close() several times in r80592.
> Then when you try to wrap a non-readable stream into a readable > buffered stream (like BufferedRWPair), it should raise a value error as > well, Good point. Unfortunately, it's now a bit late to change this. (in any case, it's a programming error to do such things and therefore the user will have to fix his/her code, rather than trying to catch the exception) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7865> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com