[issue22012] struct.unpack('?', '\x02') returns (False,) on Mac OSX
Mark Dickinson
report at bugs.python.org
Sat Jul 19 23:31:03 CEST 2014
Mark Dickinson added the comment:
> Some debugging shows that we're calling 'nu_bool' even for "<????", which is a bit odd.
Ah, I see. There's an optimisation that uses the native table functions instead of the big/little-endian ones if the size and byte order match.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22012>
_______________________________________
More information about the Python-bugs-list
mailing list