osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


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.