Re:Meta pledges Three-Year sponsorship for Python if GIL rem...
by jtokoph on Saturday July 08, 2023 @07:43PM
(#36649880)
Could there be a shim between the two that emulates the original behavior?
[ Parent
| on HN ]
Re:Meta pledges Three-Year sponsorship for Python if GIL rem...
by schmeii on Tuesday July 11, 2023 @11:55AM
(#36682806)
There already is such a mechanism in the pep.
Basically there will be two build mode.
The standard build that you get at python.org will work exactly as now (so with a Gil).
The disable-gil build (which will most likely be available through conda or similar) will have the option to run either with the GIL or without. It will automatically detect extension that are not compatible and switch to Gil mode but you can override this with an environment variable.