Antoine Pitrou <pit...@free.fr> added the comment: Here is a patch raising RuntimeError on reentrant calls to a buffered object. I haven't touched _pyio; I wonder how to do it without making it even slower.
---------- keywords: +patch Added file: http://bugs.python.org/file19841/reentrantio.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10478> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com