[issue27725] Use Py_SIZE(x) instead of x->ob_size

STINNER Victor report at bugs.python.org
Wed Aug 17 10:03:30 EDT 2016


STINNER Victor added the comment:

> However, compiling ONLY the file Objects/longobject.c with -qalias=noansi did fix the issue on AIX. That could be the same on Linux.

Nobody asked to only set the compiler file to only this file.

As we said, the issue is sprayed in all the C code base. The whole Python 2 project has aliasing issues. Extension modules have same the issue.

----------

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


More information about the Python-bugs-list mailing list