Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


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


> ... unattended-upgrades bumps up the version

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


Almost more importantly, it is also possible to force the GIL to remain on with `PYTHONGIL=1`




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: