Serhiy Storchaka added the comment:

In textio.c, the decoder always should return bytes, not arbitrary read-only 
buffer (this is required in other parts of the code). So "y#" can be replaced 
with "O" with PyBytes_GET_SIZE.

----------
keywords: +patch
Added file: 
http://bugs.python.org/file39185/issue24009_textio_decoder_getstate.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24009>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to