[issue21644] Optimize bytearray(int) constructor to use calloc()

STINNER Victor report at bugs.python.org
Mon Jun 2 22:26:51 CEST 2014


STINNER Victor added the comment:

Stefan also wrote:

"3) Somewhat similarly, I wonder if it was necessary to refactor
   PyBytes_FromStringAndSize(). I find the new version more difficult
   to understand."

This issue can also be addressed here.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21644>
_______________________________________


More information about the Python-bugs-list mailing list