[issue39689] test_struct failure on s390x Fedora Clang buildbot
Benjamin Peterson
report at bugs.python.org
Wed Mar 11 11:05:15 EDT 2020
Benjamin Peterson <benjamin at python.org> added the comment:
On Wed, Mar 11, 2020, at 07:41, Petr Viktorin wrote:
>
> > maybe we should be raising an error if the bytes are not a valid platform _Bool pattern?
>
> That's quite hard to test for.
How so? We just make the same assumption you're making that true = b'\x01' and false = NUL.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39689>
_______________________________________
More information about the Python-bugs-list
mailing list