This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients Arfrever, georg.brandl, mark.dickinson, meador.inge, ncoghlan, pitrou, python-dev, skrah, vstinner
Date 2012-08-06.10:19:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAMpsgwahozC2=UM6HwCu4Y-mC6RDxFQ89tZKijo1_Xtx3DoM-g@mail.gmail.com>
In-reply-to <1344244031.55.0.63818854427.issue13072@psf.upfronthosting.co.za>
Content
> memoryview is not aware of the 'u' format code, since it's not part of
> the struct syntax and the PEP-3118 proposition 'u' -> UCS2, 'w' -> UCS4
> wasn't considered useful.

Did you see attached patch array_unicode_format.patch? It uses struct
format "H" or "I" depending on the size of wchar_t.
History
Date User Action Args
2012-08-06 10:19:45vstinnersetrecipients: + vstinner, georg.brandl, mark.dickinson, ncoghlan, pitrou, Arfrever, skrah, meador.inge, python-dev
2012-08-06 10:19:44vstinnerlinkissue13072 messages
2012-08-06 10:19:44vstinnercreate