Per Rosengren added the comment:
On Linux:
>nm -C /lib/libc.so.6 |grep ' inet_aton'
000cbce0 W inet_aton
This means that when Python is build with GCC (like on linux), inet_aton
is in system libc.
If you build with GCC in solaris, inet_aton will be taken from the GCC
New submission from Per Rosengren :
When a floating point value is stored, the actual value stored is
something at most some small number eps larger or smaller than the
original value. Python knows this, so if it stores 0.1, and then prints
the stored value, it rounds off decimals less
Per Rosengren added the comment:
I tried Python 3.1, and it does indeed not have this issue. Thanks for
swift response!
--
___
Python tracker
<http://bugs.python.org/issue7