Re: Building a C extension that uses PyDictKeysObject on Pypy 3

"Marco Sulla" <[email protected]> Sun, 13 Mar 2022 14:25:38 -0000
Newsgroups gmane.comp.python.pypy
Message-ID <[email protected]>
Matti Picus wrote:
> PyDictKeysObject is a 
> CPython implementation detail, and not meant to be used even with 
> CPython. The declaration is found in the cpython/Include/cpython/ 
> directory.

Ah ok, I supposed it was public API because it doesn't have an underscore at the begin... Unluckily I suppose I have to use it. It's not a problem anyway, because...

> In general, we would recommend not writing c-extension 
> modules for PyPy, rather providing a pure python version of your library 

...because I have a pure py implementation.

Thank you for the support.
_______________________________________________
pypy-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/pypy-dev.python.org/
Member address: [email protected]