Steve Dower <steve.do...@python.org> added the comment:
Yes, seems like we should be opening the file in binary mode, though I haven't tried it. The CRT's interpretation of text mode really isn't compatible with Python's own interpretation of text mode, and chaining them makes even less sense. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue35140> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com