[issue10542] Py_UNICODE_NEXT and other macros for surrogates

STINNER Victor report at bugs.python.org
Sat Nov 27 02:41:04 CET 2010


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

I don't like macro having a result and using multiple instructions using the evil magic trick (the ","). It's harder to maintain the code and harder to debug than a classical function.

Don't you think that modern compilers are able to inline the code? (If not, we may add the right C attribute/keyword)

----------

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


More information about the Python-bugs-list mailing list