Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Jan 17, 2022

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).

https://bugs.python.org/issue44133

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).
Copy link
Contributor

@kulikjak kulikjak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I tested the changes and test_capi is happy again.

@vstinner vstinner merged commit 16901c0 into python:main Jan 17, 2022
@vstinner vstinner deleted the test_export branch January 17, 2022 13:49
@vstinner
Copy link
Member Author

Thanks! I tested the changes and test_capi is happy again.

Thanks for testing my PR on Solaris.

To test my PR, I hacked Python to not define PY_HAVE_THREAD_NATIVE_ID on Linux: test fails without my PR, test pass with my PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants