Serhiy Storchaka added the comment:

This issue is similar to issue10212. Here is a patch which makes 
struct.pack_into() support new buffer protocol.

Something similar should be applied to 3.x because PyObject_AsWriteBuffer() is 
deprecated and not safe.

----------
assignee:  -> serhiy.storchaka
nosy: +kristjan.jonsson, pitrou, serhiy.storchaka, terry.reedy
stage: needs patch -> patch review

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

Reply via email to