• Kevin Modzelewski's avatar
    Change _PyThreadState_Current handling · 2a4e46ea
    Kevin Modzelewski authored
    Instead of having it always point to the thread-local threadstate object,
    it's a global that gets updated during context switches, like CPython does it.
    
    There are still a number of differences that should be refactored out, but
    I think this should bring us quite a bit closer to CPython's implementation.
    2a4e46ea
capi.cpp 56.1 KB