Benjamin Peterson <benja...@python.org> added the comment: The BufferedReader/Writer classes are supposed to handle this exception correctly, so presumably you could have RawIO class that raises this exceptions and use it with the io stack.
Since this bug report has no clear resolution, I'm closing it. Further discussion should happen on Python-dev I believe. ---------- nosy: +benjamin.peterson resolution: -> works for me status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7786> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com