News for hackers. Stuff that matters.
Re:No-GIL mode coming for Python by mikepurvis on Saturday July 29, 2023 @01:11AM (#36917151)
Coming from a place of total ignorance, it would be nice if you could do this more incrementally, like have it be in no-gil mode by default, but then have a context manager you can use for gil sections, and have the interpreter bomb out if you try to enter gil-required code while still in no-gil mode.
Re:No-GIL mode coming for Python by HoppyHaus on Saturday July 29, 2023 @01:32AM (#36917251)
The issue is when someone's unattended-upgrades bumps up the version and causes something to come crashing down. The people who need to use nogil should know that they need to, and will now have the ability to enable it
Re:No-GIL mode coming for Python by samus on Saturday July 29, 2023 @06:46AM (#36918875)
Almost more importantly, it is also possible to force the GIL to remain on with `PYTHONGIL=1`
Re:No-GIL mode coming for Python by pritambaral on Saturday July 29, 2023 @09:22AM (#36920047)
> ... unattended-upgrades bumps up the version

Surely, unattended-upgrades should NOT be bumping major versions?