Message106176
> 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. |
|
Date |
User |
Action |
Args |
2010-05-20 17:54:03 | pitrou | set | recipients:
+ pitrou, pakal |
2010-05-20 17:54:00 | pitrou | link | issue8765 messages |
2010-05-20 17:54:00 | pitrou | create | |
|