This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author sbt
Recipients sbt, serhiy.storchaka, socketpair
Date 2013-06-29.21:59:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1372543164.95.0.156218427681.issue18329@psf.upfronthosting.co.za>
In-reply-to
Content
I think in Python 3 makefile() returns a TextIOWrapper object by default. To force the use of binary you need to specfiy the mode:

    fileobj = ss.makefile(mode='rb')
History
Date User Action Args
2013-06-29 21:59:25sbtsetrecipients: + sbt, socketpair, serhiy.storchaka
2013-06-29 21:59:24sbtsetmessageid: <1372543164.95.0.156218427681.issue18329@psf.upfronthosting.co.za>
2013-06-29 21:59:24sbtlinkissue18329 messages
2013-06-29 21:59:24sbtcreate