◐ Shell
clean mode source ↗

Message 172395 - Python tracker

I agree, it is worth bring order to work with endianess. We can get rod of BYTEORDER_IS_BIG_ENDIAN and BYTEORDER_IS_LITTLE_ENDIAN in Objects/unicodeobject.c, IS_LITTLE_ENDIAN in Objects/longobject.c, tests in other modules. I don't see the necessity in new macros. WORDS_BIGENDIAN is enough.

If something failing on a big endian Solaris, build script should just define WORDS_BIGENDIAN.