[Python-Dev] Using PEP384 Stable ABI for the lzma extension module

Amaury Forgeot d'Arc amauryfa at gmail.com
Tue Oct 4 21:06:21 CEST 2011


2011/10/4 "Martin v. Löwis" <martin at v.loewis.de>:
>
>> - _PyBytes_Resize() is missing; I moved it under a Py_LIMITED_API
>>   section.
>
> ??? Are you proposing to add _PyBytes_Resize to the Py_LIMITED_API
> set of functions? It's not even an API function in the first place
> (it starts with an underscore), so how can it be a limited API function?

It's not a proposal of any kind; it's just the workaround I used to compile
and test.
OTOH, it seems that many modules already use this function. Is there
another method that does not need to copy data?

-- 
Amaury Forgeot d'Arc


More information about the Python-Dev mailing list