Author Oren Milman
Recipients Oren Milman, benjamin.peterson, ncoghlan, serhiy.storchaka, veky
Date 2017-10-03.06:57:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I am not sure, but ISTM that it isn't possible for the encoder to return a
unicode and not fail later.
This is because _textiowrapper_writeflush() would call _io.BytesIO.write()
(after it called _PyBytes_Join()), and bytesio_write() calls PyObject_GetBuffer(),
which would raise "TypeError: 'unicode' does not have the buffer interface".
Date User Action Args
2017-10-03 06:57:58Oren Milmansetrecipients: + Oren Milman, ncoghlan, benjamin.peterson, serhiy.storchaka, veky
2017-10-03 06:57:58Oren Milmansetmessageid: <>
2017-10-03 06:57:58Oren Milmanlinkissue31271 messages
2017-10-03 06:57:58Oren Milmancreate