Serhiy Storchaka added the comment:
The proposed patch doesn't work with all objects supporting the buffer
protocol, for example it doesn't work with array.array('u', '\ufeff[1,2,3]').
This is easy to fix. But I'm not sure that it is worth to complicate the code
for adding support of the buffer protocol.
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue30193>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com