On Thu, Jan 27, 2022 at 1:14 AM Larry Hastings <la...@hastings.org> wrote:
> Just so I understand: is this effectively permanent?  My first thought was, 
> we get SWIG to change its code generation, and in a couple of years we can 
> follow up and make this change.  But perhaps there's so much SWIG code out 
> there already, and the change would propagate so slowly, that it's not even 
> worth considering.  Is it something like that?  Or is it just that it's such 
> a minor change that it's not worth fighting about?

I'm interested to be able to change Python core structures like
PyObject, PyTypeObject or PyListObject. It's just that PyDescrObject
is out of my scope for now.

As you explained, changing SWIG is not free, so it's better to have a
good reason to do it :-)

If someone wants to do it, I already did the work, I attached patches
to: https://bugs.python.org/issue46538

--

About generated code, there is a similar concern with Cython.
Hopefully, it seems like maintainers do regenerate the C code of their
project using a recent Cython when they release a new version of their
project (ex: numpy). So for Cython, fixing Cython is enough, then it's
just a matter of time.

In the case of the PEP 674, I already updated Cython in May 2020, and
Cython is already released with my changes ;-)

Victor
-- 
Night gathers, and now my watch begins. It shall not end until my death.
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/CTQU7LNZF2FXA34XCWIRXJHUYEKFXCAF/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to