Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
dom0
· 9y ago · 0 comments
Removing the GIL (in a non-braindead way) likely entails breaking
all
existing code using the C API. PyPy could do so without breaking cpyext, by maintaining the illusion of a GIL whenever control passes to cpyext.
Comments
[–]
PrimHelios
9y ago
That makes sense, I hadn't thought about the extent of the breakage.
[–]
std_throwaway
9y ago
Does it lock the GIL so numpy can release it again immediately afterwards?
[–]
dkersten
9y ago
Perhaps it makes the unlock call a no-op before numpy tries to unlock it.