On Thu, 29 Nov 2018 at 18:19, Steve Dower firstname.lastname@example.org wrote:
quo. We continue to not be able to change CPython internals at all, since that will break people using option B.
No? That will only break users if they only have an option-B ``foo.cpython-318m-x86_64-linux-gnu.so``, no option-A .so and no source code, and want to run it elsewhere than CPython 3.18. That's the same as today. If you want option-B .so for N versions of CPython, recompile the source code N times.
Just to be clear, if done correctly there should be no need for #ifdefs in the source code of the extension module.