STINNER Victor <vstin...@python.org> added the comment:
> New changeset 2c228a7b8f89e9ed8d390370abd771d4993b79d8 by Petr Viktorin in > branch 'main': > bpo-46748: Don't import <stdbool.h> in public headers (GH-31553) It seems like this change broke ctypes on some architectures like s390x: https://buildbot.python.org/all/#/builders/3/builds/1573 ====================================================================== FAIL: test_frozentable (ctypes.test.test_values.PythonValuesTestCase) [__phello_alias__] ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/Lib/ctypes/test/test_values.py", line 86, in test_frozentable self.assertIsNone(spec.submodule_search_locations) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: [] is not None ====================================================================== FAIL: test_frozentable (ctypes.test.test_values.PythonValuesTestCase) [__phello__] ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/Lib/ctypes/test/test_values.py", line 86, in test_frozentable self.assertIsNone(spec.submodule_search_locations) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: ['/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/Lib/__phello__'] is not None ====================================================================== FAIL: test_frozentable (ctypes.test.test_values.PythonValuesTestCase) [__phello__.ham] ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/Lib/ctypes/test/test_values.py", line 86, in test_frozentable self.assertIsNone(spec.submodule_search_locations) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: ['/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.clang/build/Lib/__phello__/ham'] is not None ---------- nosy: +vstinner _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue46748> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com