summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2004-10-09 22:47:13 (GMT)
committerTim Peters <tim.peters@gmail.com>2004-10-09 22:47:13 (GMT)
commitf9becec8cd989743aeb22d02a0ededddeecc89a6 (patch)
treec4c4aa8d3053caf18f08444bb066e3e4f3d766a3 /Tools
parentfda787fcec40a7ff9c4a92ba73091d22bcc8f857 (diff)
downloadcpython-f9becec8cd989743aeb22d02a0ededddeecc89a6.zip
cpython-f9becec8cd989743aeb22d02a0ededddeecc89a6.tar.gz
cpython-f9becec8cd989743aeb22d02a0ededddeecc89a6.tar.bz2
_PyGILState_Init(), PyGILState_Ensure(): Since PyThread_set_key_value()
can fail, check its return value, and die if it does fail. _PyGILState_Init(): Assert that the thread doesn't already have an association for autoTLSkey. If it does, PyThread_set_key_value() will ignore the attempt to (re)set the association, which the code clearly doesn't want.
Diffstat (limited to 'Tools')
0 files changed, 0 insertions, 0 deletions