]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-44133: Skip PyThread_get_thread_native_id() if not available (GH-30636)
authorVictor Stinner <vstinner@python.org>
Mon, 17 Jan 2022 13:49:20 +0000 (14:49 +0100)
committerGitHub <noreply@github.com>
Mon, 17 Jan 2022 13:49:20 +0000 (14:49 +0100)
commit16901c0482734dbd389b09ca3edfcf3e22faeed7
treea22f75e121921624e2e985863ece71cc551d6299
parentad6e640f910787e73fd00f59117fbd22cdf88c78
bpo-44133: Skip PyThread_get_thread_native_id() if not available (GH-30636)

test_capi.test_export_symbols() doesn't check if Python exports the
"PyThread_get_thread_native_id" symbol if the _thread.get_native_id()
function is not available (if the PY_HAVE_THREAD_NATIVE_ID macro is
not defined).
Lib/test/test_capi.py