https://github.com/python/cpython/commit/197e4c06289e282857fc953cc1a27c209e3c03a7 commit: 197e4c06289e282857fc953cc1a27c209e3c03a7 branch: main author: Stefano Rivera <[email protected]> committer: vstinner <[email protected]> date: 2026-01-27T12:39:03+01:00 summary:
Avoid TestNullDlsym hanging on HP-PA (#141011) glibc has no support for IFUNC on HP PA RISC yet. Rather than waiting for an "OK" that we'll never get, skip the test. See: https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/hppa/dl-irel.h;h=770dcb3ea3a6ce232bb11bf59315cfec4c543f93;hb=HEAD files: M Lib/test/test_ctypes/test_dlerror.py diff --git a/Lib/test/test_ctypes/test_dlerror.py b/Lib/test/test_ctypes/test_dlerror.py index 5658234f9ec66b..bb0aec0b3c5248 100644 --- a/Lib/test/test_ctypes/test_dlerror.py +++ b/Lib/test/test_ctypes/test_dlerror.py @@ -30,8 +30,9 @@ """ [email protected](sys.platform.startswith('linux'), - 'test requires GNU IFUNC support') [email protected](not sys.platform.startswith('linux') + or platform.machine().startswith('parisc'), + 'test requires GNU IFUNC support') @unittest.skipIf(test.support.linked_to_musl(), "Requires glibc") class TestNullDlsym(unittest.TestCase): """GH-126554: Ensure that we catch NULL dlsym return values _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3//lists/python-checkins.python.org Member address: [email protected]
