Hacker News new | past | comments | ask | show | jobs | submit login

Indeed, and in that case the GIL is effectively a non-issue (there's no requirement for the GIL to be held by non-python code).



No, no, if you're manipulating Python objects from C code, you have to hold the lock. You can release it only when not doing anything with objects in Python's memory space. Otherwise you get race conditions and intermittent crashes.




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: