Jerzy Kozera added the comment:
I forgot to mention my patch is 3.3-only, sorry - it depends on changes from
#12555 (http://hg.python.org/cpython/rev/41a1de81ef2b#l18.21 to be precise). To
support 3.2 and 2.7:
(1) select.error must be caught as in the original patch,
(2) e.args[0] must be
Jerzy Kozera added the comment:
I've updated the patch according to suggestions from Gregory P. Smith. Thanks
to a change from #12555 (PEP 3151) now just checking for OSError is enough.
(I've decided to use mocked select() instead of calling alarm() to avoid
depending
Jerzy Kozera added the comment:
Running
gcc -Wl,-R/usr/local/lib,-R/usr/lib -o python Python/pymath.o Modules/python.o
libpython2.7.a -lresolv -lsocket -lnsl -lrt -ldl -lpthread -lm
mv build/lib.solaris-2.8-sun4u-2.7/math_failed.so
build/lib.solaris-2.8-sun4u-2.7/math.so
seems to have