[Python-ideas] Floating point contexts in Python core

Stephen J. Turnbull stephen at xemacs.org
Thu Oct 11 18:05:33 CEST 2012


Steven D'Aprano writes:

 > I would gladly give up a small amount of speed for better control
 > over floats, such as whether 1/0.0 raised an exception or
 > returned infinity.

Isn't that what the fpectl module is supposed to buy, albeit much less
pleasantly than Decimal contexts do?




More information about the Python-ideas mailing list