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 vstinner
Recipients brandtbucher, eric.snow, petr.viktorin, serhiy.storchaka, vstinner
Date 2022-02-26.01:11:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1645837861.18.0.987525580458.issue46748@roundup.psfhosted.org>
In-reply-to
Content
> 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
History
Date User Action Args
2022-02-26 01:11:01vstinnersetrecipients: + vstinner, petr.viktorin, eric.snow, serhiy.storchaka, brandtbucher
2022-02-26 01:11:01vstinnersetmessageid: <1645837861.18.0.987525580458.issue46748@roundup.psfhosted.org>
2022-02-26 01:11:01vstinnerlinkissue46748 messages
2022-02-26 01:11:01vstinnercreate