[Python-Dev] Re: Slowly bend the C API towards the limited API to get a stable ABI for everyone

2022年4月05日 13:57:27 -0700

IMO it would be better to keep the HPy design as the long term goal:
* Refer to Python objects with opaque handles
* All structures are opaque (with a few exceptions, like PyType_Spec)
It will likely take multiple iterations (Python releases) to reach
this goal, and incompatible C API changes may need a PEP (like PEP
674), but IMO it's good to keep this goal in mind.
Otherwise, it's not easy to understand the rationale for changes like
https://peps.python.org/pep-0674/ "PEP 674 – Disallow using macros as
l-values".
Victor
-- 
Night gathers, and now my watch begins. It shall not end until my death.
_______________________________________________
Python-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/3FYHB74CF6XBADFRLUVFV6NUZKXRSBSY/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to