summaryrefslogtreecommitdiff
path: root/Python/mystrtoul.c
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2004-10-09 22:47:13 +0000
committerTim Peters <tim.peters@gmail.com>2004-10-09 22:47:13 +0000
commitf9becec8cd989743aeb22d02a0ededddeecc89a6 (patch)
treec4c4aa8d3053caf18f08444bb066e3e4f3d766a3 /Python/mystrtoul.c
parentfda787fcec40a7ff9c4a92ba73091d22bcc8f857 (diff)
downloadcpython-git-f9becec8cd989743aeb22d02a0ededddeecc89a6.tar.gz
_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 'Python/mystrtoul.c')
0 files changed, 0 insertions, 0 deletions