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 nadeem.vawda
Recipients Arfrever, Michael.Fox, nadeem.vawda, pitrou, rhettinger, serhiy.storchaka, vstinner
Date 2013-05-20.14:42:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
No, that is the intended behavior for binary streams - they operate at
the level of individual byes. If you want to treat your input file as
Unicode-encoded text, you should open it in text mode. This will return a
TextIOWrapper which handles the decoding and line splitting properly.
Date User Action Args
2013-05-20 14:42:43nadeem.vawdasetrecipients: + nadeem.vawda, rhettinger, pitrou, vstinner, Arfrever, serhiy.storchaka, Michael.Fox
2013-05-20 14:42:43nadeem.vawdasetmessageid: <>
2013-05-20 14:42:43nadeem.vawdalinkissue18003 messages
2013-05-20 14:42:42nadeem.vawdacreate