Tim Peters wrote: > [M.-A. Lemburg] > > ... > > Also new in this snapshot is configuration code which figures > > out the byte order on the installation machine... I looked > > everywhere in the Python source code but couldn't find any > > hint whether this was already done in some place, >=20 > There's a tiny bit of inline code for this in the "host byte order" = case of > structmodule.c's function whichtable. It's easy to figure out, so = probably > better to copy that than create new ifdef symbols for autoconf to = screw up > <wink>. otoh, figuring out the byte order is one of the things autoconf do very well. if they're not there already, Python's autoconf should include the basic "platform metrics" macros: AC_HEADER_STDC AC_C_INLINE AC_C_BIGENDIAN AC_CHECK_SIZEOF(char) AC_CHECK_SIZEOF(short) AC_CHECK_SIZEOF(int) AC_CHECK_SIZEOF(long) AC_CHECK_SIZEOF(float) AC_CHECK_SIZEOF(double) AC_C_CONST (think "extension writers", not necessarily "python core") </F>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4