[issue16166] Add PY_BYTE_ORDER macro to get endianess of platform
Serhiy Storchaka
report at bugs.python.org
Thu Oct 18 09:35:59 CEST 2012
Serhiy Storchaka added the comment:
> I've replaced the macros with PY_BIG_ENDIAN or PY_LITTLE_ENDIAN. Both are
> always defined and exactly one is set to 1, the other to 0.
It looks like a joke.
The programmer puts on the table by his bed two glasses. One with water, for
the case of he will drink at night. Another empty, for the case of he will not
drink.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16166>
_______________________________________
More information about the Python-bugs-list
mailing list