[docs] Query re array 'u' type code
andrew.svetlov at gmail.com
Mon Oct 8 15:26:20 CEST 2012
You shouldn't store characters in array because char is not 'physical
matter' but some abstract one without specified byte representation.
You should to store string encoded by some codec instead — it makes
things easier and well-defined.
On Mon, Oct 8, 2012 at 4:13 PM, Mark Summerfield <list at qtrac.plus.com> wrote:
> According to
> The 'u' type code is deprecated and will be dropped in Python 4.
> However, no information is provided on what one should use instead when
> one wants to store an array of individual characters. I think that such
> information would be helpful.
> Mark Summerfield, Qtrac Ltd, www.qtrac.eu
> C++, Python, Qt, PyQt - training and consultancy
> "Advanced Qt Programming" - ISBN 0321635906
> docs mailing list
> docs at python.org
More information about the docs