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.

Author kulikjak
Recipients kulikjak, miss-islington, petr.viktorin, shihai1991, vstinner
Date 2022-01-17.10:40:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1642416039.44.0.60177797896.issue44133@roundup.psfhosted.org>
In-reply-to
Content
>> 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?
History
Date User Action Args
2022-01-17 10:40:39kulikjaksetrecipients: + kulikjak, vstinner, petr.viktorin, miss-islington, shihai1991
2022-01-17 10:40:39kulikjaksetmessageid: <1642416039.44.0.60177797896.issue44133@roundup.psfhosted.org>
2022-01-17 10:40:39kulikjaklinkissue44133 messages
2022-01-17 10:40:39kulikjakcreate