STINNER Victor <victor.stin...@haypocalc.com> added the comment: + if isinstance(message, io.TextIOWrapper): + # Backward compatibility hack. + message = message.buffer
Is it a good thing to parse a mailbox using a text file? If not, we should emit a warning and maybe remove this feature in Python 3.3. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9124> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com