Message414053
> 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 |
|
Date |
User |
Action |
Args |
2022-02-26 01:11:01 | vstinner | set | recipients:
+ vstinner, petr.viktorin, eric.snow, serhiy.storchaka, brandtbucher |
2022-02-26 01:11:01 | vstinner | set | messageid: <1645837861.18.0.987525580458.issue46748@roundup.psfhosted.org> |
2022-02-26 01:11:01 | vstinner | link | issue46748 messages |
2022-02-26 01:11:01 | vstinner | create | |
|