On Tue, Sep 8, 2020, at 08:13, Petr Viktorin wrote:
> Hello,
> The "xxlimited" module (Modules/xxlimited.c) was added as part of PEP 
> 384 (Defining a Stable ABI), and is undocumented. As far as I can tell, 
> it was added partly to test the stable ABI, and partly as an example of 
> how to write a module (like "xx" from xxmodule.c).
> In the last few years the module has not seen much maintenance, and I 
> believe it's no longer a good example to follow: it works, but there are 
> now better ways to do things.
> 
> I would like to take over maintenance of the module and make it into an 
> example of how to write a low-level C extension with isolated module 
> state, as described in PEP 630 (Isolating Extension Modules) -- an 
> informational PEP that I plan to convert to a HOWTO doc when everything 
> is ready.
> 
> Please let me know if you think this isn't a good idea, or if there's 
> something I'm missing.

There's value in testing that the old ways continue to work, though, right? 
Maybe the current xxlimited should be renamed to xxoldlimited and xxlimited can 
become the new home for a modern limited extension writing example.
_______________________________________________
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/YITRQXGUOIEHK22QP5K4C5E45QA356U3/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to