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 pitrou
Recipients pakal, pitrou
Date 2010-05-20.17:54:00
SpamBayes Score 3.4671753e-05
Marked as misclassified No
Message-id <1274378037.3297.3.camel@localhost.localdomain>
In-reply-to <1274376818.82.0.0514888864421.issue8765@psf.upfronthosting.co.za>
Content
> Allright, what's the expected behaviour then - implicitly converting
> unicode to bytes (like C RawFileIO), or raising a typeerror (like
> buffered streams do) ?

Sorry, I should have been clearer. The expected behaviour is to raise a
TypeError. The new io module was written for Python 3, where you
shouldn't mix bytes and unicode strings and expect things to work.
History
Date User Action Args
2010-05-20 17:54:03pitrousetrecipients: + pitrou, pakal
2010-05-20 17:54:00pitroulinkissue8765 messages
2010-05-20 17:54:00pitroucreate