[issue9277] test_struct failure on ARM
Stefan Krah
report at bugs.python.org
Sun Jul 18 14:09:35 CEST 2010
Stefan Krah <stefan-usenet at bytereef.org> added the comment:
Mark Dickinson <report at bugs.python.org> wrote:
> > Somewhere along the way native_table is used instead of lilendian_table,
> > so np_bool is called.
>
> Hmm. This doesn't alleviate my confusion. :)
I suppose I sounded a bit like the Oracle of Delphi here. :)
I compiled with OPT="-O0 -g -funsigned-char" and stepped through the code (pre-patch).
With '<', np_bool is substituted for bp_bool (apparently in PyInit__struct).
np_bool correctly returns -1, so the problem does not occur.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9277>
_______________________________________
More information about the Python-bugs-list
mailing list