Ronald Oussoren <ronaldousso...@mac.com> added the comment:

Note that the implementation of np_bool in _struct.c [1] is incorrect because 
this is supposed to access a boolean of a standard size, but uses _Bool. The 
size of _Bool is not prescribed, and IIRC sizeof(_Bool) was 4 with the 
compilers used for macOS/PPC.

[1] https://github.com/python/cpython/blob/master/Modules/_struct.c#L703

----------
nosy: +ronaldoussoren

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue39689>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to