[issue44133] Some C-API symbols (e.g. Py_FrozenMain) are not always exported on Unix
Jakub Kulik
report at bugs.python.org
Mon Jan 17 05:40:39 EST 2022
Jakub Kulik <jakub.kulik at oracle.com> added the comment:
>> 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?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44133>
_______________________________________
More information about the Python-bugs-list
mailing list