[Python-Dev] Linux Python linking with G++?

Tim Peters tim.peters at gmail.com
Tue Jul 12 01:19:12 CEST 2005


[Michael Hudson]
> --with-fpectl, for example.  Does anyone lurking here actually use
> that, know what it does and require the functionality?  Inquiring
> minds want to know.

I know what it intends to do:  fpectlmodule.c intends to enable the HW
FPU divide-by-0, overflow, and invalid operation traps; if any of
those traps trigger, raise the C-level SIGFPE signal; and convert
SIGFPE to a Python-level FloatingPointError exception.  The comments
in pyfpe.h explain this best.


More information about the Python-Dev mailing list