Author Oren Milman
Recipients Oren Milman, serhiy.storchaka, veky
Date 2017-08-25.07:48:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1503647320.69.0.582462591921.issue31271@psf.upfronthosting.co.za>
In-reply-to
Content
As Serhiy pointed out on github, the assertion failure can be easily reproduced
by the following:

import codecs
import io

rot13 = codecs.lookup("rot13")
rot13._is_text_encoding = True
t = io.TextIOWrapper(io.BytesIO(b'foo'), encoding="rot13")
t.write('bar')
History
Date User Action Args
2017-08-25 07:48:40Oren Milmansetrecipients: + Oren Milman, serhiy.storchaka, veky
2017-08-25 07:48:40Oren Milmansetmessageid: <1503647320.69.0.582462591921.issue31271@psf.upfronthosting.co.za>
2017-08-25 07:48:40Oren Milmanlinkissue31271 messages
2017-08-25 07:48:40Oren Milmancreate