[Python-Dev] Re: Please update Cython *before* introcuding C API incompatible changes in Python

2022年2月04日 07:42:05 -0800

On 2/4/22 6:23 AM, Stefan Behnel wrote:
> One recent example is the new error locations in tracebacks, where PEP 657 
explicitly lists
> the new "co_positions" field in code objects as an implementation detail of 
CPython. If we
> want to implement this in Cython, then there is no other way than to copy 
these implementation
> details pretty verbatimly from CPython and to depend on them.
>
> https://www.python.org/dev/peps/pep-0657/
>
> In this specific case, we're lucky that this can be considered an entirely 
optional feature that we can separately
> disable when users request "public API" mode (let's call it that). Not sure 
if that's what users want, though.
Speaking as a user, I would want Cython to be (in order of preference):
- reliable
- fast
- all the cool Python features
and Python to:
- make public APIs available for Python features
--
~Ethan~
_______________________________________________
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/LER6WQX565PNDJYWSZI2KCSXDN7MM624/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to