[Python-Dev] Replacement for array.array('u')?

Antoine Pitrou solipsis at pitrou.net
Fri Mar 22 06:39:05 EDT 2019

On Fri, 22 Mar 2019 20:31:33 +1300
Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:
> A poster on comp.lang.python is asking about array.array('u').
> He wants an efficient mutable collection of unicode characters
> that can be initialised from a string.

TBH, I think anyone trying to use array.array should be directed to
Numpy these days.  The only reason for array.array being here is that
it predates Numpy.  Otherwise we'd never have added it.



More information about the Python-Dev mailing list