New submission from Alex Gaynor <alex.gay...@gmail.com>:

>From python-ideas:

introduce array.zeroes, a new classmethod that provides an alternative 
constructor, its signature is zeroes(typecode, length), which allows for 
preallocating an array, with a lower overhead than methods such as 
array(typecode, [0]) * length, and is more readable (plus consistant with the 
numpy method of the same name).

----------
assignee: alex
components: Library (Lib)
messages: 140901
nosy: alex
priority: normal
severity: normal
status: open
title: add array.zeroes
type: feature request
versions: Python 3.4

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

Reply via email to