John O'Connor <tehj...@gmail.com> added the comment: It seems to me that adding the proper check is a good idea. It also may not be obvious to some that 'U' is now more or less an alias for 'r'. I have updated the patch so that it at least applies.
I also removed a redundant `reading = 1` ---------- nosy: +jcon Added file: http://bugs.python.org/file22217/issue2091-2.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue2091> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com