[issue9124] Mailbox module should use binary I/O, not text I/O

R. David Murray report at bugs.python.org
Sat Jan 29 22:56:16 CET 2011


R. David Murray <rdmurray at bitdance.com> added the comment:

Benjamin suggested using hasattr(message, 'buffer'), and that works great.  The test revealed a bug in the patch, which is now fixed.

All tests pass on windows.  As far as I'm concerned the patch is ready to go.  Other reviews would of course be welcome (and perhaps required by Georg).

----------
Added file: http://bugs.python.org/file20614/mailbox6.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9124>
_______________________________________


More information about the Python-bugs-list mailing list