]> granicus.if.org Git - python/commit
reinit the TLS before anything else (#130)
authorBenjamin Peterson <benjamin@python.org>
Tue, 21 Feb 2017 07:43:15 +0000 (23:43 -0800)
committerGitHub <noreply@github.com>
Tue, 21 Feb 2017 07:43:15 +0000 (23:43 -0800)
commitd9a75744eeaa882e6203cdb864289a6534ac86c8
treef3ebd257adc9db9826223258ef5bb000e8aa7c95
parentc0b336e0ada74b1242b9ef10c19eb87b0a21d106
reinit the TLS before anything else (#130)

PyEval_ReInitThread can run arbitrary Python code, which really ought to have
the TLS initialized.
Parser/intrcheck.c