>> On Solaris (and most likely several other platforms), `PyThread_get_thread_native_id` is also not available.
> Oh, I added an explicit test for that in my PR 30556.
Now it started failing on a different place:
======================================================================
FAIL: test_export_symbols (test.test_capi.CAPITest) (name='PyThread_get_thread_native_id')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/..../cpython-main/Lib/test/test_capi.py", line 662, in test_export_symbols
self.assertTrue(hasattr(ctypes.pythonapi, name))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: False is not true
Looking at the test, is the expectation that all OSes must implement it since 3.11? |