[issue21180] Cannot efficiently create empty array.array of given size, inconsistency with bytearray

Terry J. Reedy report at bugs.python.org
Fri Apr 11 21:38:37 CEST 2014


Terry J. Reedy added the comment:

You are  proposing to copy behavior that will likely be deprecated and removed (see  http://legacy.python.org/dev/peps/pep-0467/#id5). Lets reject that idea. The same pep proposes to replace byte(s/array)(n) "by two more explicit alternate constructors provided as class methods" -- perhaps called .zeros(n). A proposal to copy the new replacements to array might be accepted.

----------
nosy: +ncoghlan, terry.reedy

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


More information about the Python-bugs-list mailing list