R. David Murray <rdmur...@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 <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