[issue34696] PyByteArray_FromObject() has undocumented (and untested) behavior

2018-10-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See also issue26759. -- assignee: -> serhiy.storchaka nosy: +serhiy.storchaka ___ Python tracker ___ _

[issue34696] PyByteArray_FromObject() has undocumented (and untested) behavior

2018-09-15 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +8755 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-li

[issue34696] PyByteArray_FromObject() has undocumented (and untested) behavior

2018-09-15 Thread Zackery Spytz
New submission from Zackery Spytz : The documentation states that PyByteArray_FromObject() creates a bytearray object from an object that implements the buffer protocol, but PyByteArray_FromObject() simply calls the bytearray constructor with its argument (the buffer protocol part is not enfo