This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Stable ABI: Some optional (#ifdef'd) functions aren't handled correctly
Type: Stage: patch review
Components: C API Versions:
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: kulikjak, petr.viktorin
Priority: normal Keywords: patch

Created on 2022-03-30 15:52 by petr.viktorin, last changed 2022-04-11 14:59 by admin.

Pull Requests
URL Status Linked Edit
PR 32365 merged petr.viktorin, 2022-04-06 14:53
PR 32414 open petr.viktorin, 2022-04-08 12:49
Messages (2)
msg416377 - (view) Author: Petr Viktorin (petr.viktorin) * (Python committer) Date: 2022-03-30 15:52
- PyThread_get_thread_native_id is only available when PY_HAVE_THREAD_NATIVE_ID is defined. The test currently always expects it to be available.
- PyOS_CheckStack is only available when USE_STACKCHECK is defined (i.e. on Windows). It should be exported from the DLL.

I plan to:
- add the appropriate metadata
- improve handling & testing of such optional functions in general
msg416477 - (view) Author: Jakub Kulik (kulikjak) * Date: 2022-04-01 08:57
Solaris is affected by missing `PyThread_get_thread_native_id`; all other symbols from the SYMBOL_NAMES tuple (in test_stable_abi_ctypes.py) are available.
History
Date User Action Args
2022-04-11 14:59:57adminsetgithub: 91325
2022-04-08 12:49:59petr.viktorinsetpull_requests: + pull_request30440
2022-04-06 14:53:07petr.viktorinsetkeywords: + patch
stage: patch review
pull_requests: + pull_request30414
2022-04-01 08:57:03kulikjaksetmessages: + msg416477
2022-04-01 08:55:48kulikjaksetnosy: + kulikjak
2022-03-30 15:52:37petr.viktorincreate