Caelyn McAulay added the comment: Changed documentation to state that ValueError should be raised if any operation (excluding close()) is called on a closed stream.
This appears to be what is done in iobase.c; and some investigation of inheriting types (rawiobase, fileio, bufferedio, etc.) indicates that there is nowhere where an IOError is being raised instead. Sphinx documentation appears to already be update to date. Is there any known place where operations on a closed stream raise IOError? I am currently assuming no. ---------- keywords: +patch nosy: +math_foo Added file: http://bugs.python.org/file34843/comment15840.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15840> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com