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

Serhiy Storchaka storchaka at gmail.com
Fri Mar 22 10:11:45 EDT 2019


22.03.19 13:33, Antoine Pitrou пише:
> On Fri, 22 Mar 2019 13:27:08 +0200
> Serhiy Storchaka <storchaka at gmail.com> wrote:
>> Making it always 32 bits would be compatibility breaking change.
>> Currently array('u') represents the wchar_t string, and many API on
>> Windows require it.
> 
> The question is: why would you use a array.array() with a Windows C API?

I do not. But maybe it is used. And changing the width of the 'u' code 
would break such use case.



More information about the Python-Dev mailing list