2 ms·
Projects that depend on CPython C extensions should consider migrating to HPy[1] for C extension compatibility across Python implementations. [1] https://githu
by heavyset_go 5y ago
Projects that depend on CPython C extensions should consider migrating to HPy[1] for C extension compatibility across Python implementations.
[1] https://github.com/hpyproject/hpy https://github.com/hpyproject/hpy
- sitkack 5y agoThis looks interesting, but it also looks ambitious and not anywhere ready. Everyone would be well served for extensions to not be aware of Python internals and expose a clean handle based api to all users. For this, cffi is sufficient and already available across nearly all Python implementations. https://cffi.readthedocs.io/en/latest/ https://cffi.readthedocs.io/en/latest/ I do agree that a standardized Python should have an object model that is a clean public contract, but given that Python is CPython and there is no standardization, that the library runtime is married to the core also makes this incredibly difficult politically.