summaryrefslogtreecommitdiff
path: root/Python/dynload_stub.c
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-05-30 06:09:50 +0000
committerTim Peters <tim.peters@gmail.com>2001-05-30 06:09:50 +0000
commitc48735628e855141b60eff7ddd37daedcefc342b (patch)
treedd2cde28c2b599cb49bd758031b142f81172e7b0 /Python/dynload_stub.c
parent72168dcd9501bfa1d740e83b8107181104b90046 (diff)
downloadcpython-c48735628e855141b60eff7ddd37daedcefc342b.tar.gz
PyErr_Occurred(): Use PyThreadState_GET(), which saves a tiny function call
in release builds. Suggested by Martin v. Loewis. I'm half tempted to macroize PyErr_Occurred too, as the whole thing could collapse to just _PyThreadState_Current->curexc_type
Diffstat (limited to 'Python/dynload_stub.c')
0 files changed, 0 insertions, 0 deletions