Antoine Pitrou added the comment: > > Ouch, sounds confusing. I would rather have PY_LITTLE_ENDIAN defined only > > on little-endian machines and PY_BIG_ENDIAN only on big-endian machines. > > (and PY_BYTE_ORDER isn't necessary) > > Why use two complementary boolean variables for a single boolean value > (Python > does not support mixed endian in any case)?
Because it's simply more practical than having to remember which one exists :-) > There is WORDS_BIGENDIAN already. A rather unfortunate IMHO. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16166> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com