[issue14779] test_buffer fails on OS X universal 64-/32-bit builds

Stefan Krah report at bugs.python.org
Fri May 11 14:39:23 CEST 2012


Stefan Krah <stefan-usenet at bytereef.org> added the comment:

The tests for arrays with suboffsets literally need sizeof(void *).

I don't think C guarantees SIZEOF_VOID_P == SIZEOF_SIZE_T. If HAVE_SSIZE_T
is defined in pyport.h, AFAICS no such check is made.

Of course these concerns may be entirely theoretical. :)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14779>
_______________________________________


More information about the Python-bugs-list mailing list