On 25 December 2016 at 09:48, Nathaniel Smith <n...@pobox.com> wrote:

> Or maybe make it so that even no-fpectl builds still export the
> necessary symbols so that yes-fpectl extensions don't crash on import?
> (This has the advantage that it can be done in a point release...)
>

This seems like a sensible thing to do in 3.6, 3.5 and 2.7 regardless of
what happens in 3.7.

For 3.7, I don't understand the trade-offs well enough to have a strong
opinion, but dropping the feature entirely does seem reasonable - folks
that want fine-grained floating point exception control these days are
likely to be much better served by the decimal module, or one of the third
party computing libraries (numpy, gmpy, sympy, etc).

There was a thread back in 2012 [1] regarding the possibility of instead
updating floats to offer flexibility similar to that offered by those other
modules, but I think our discussions of the expected semantics of a decimal
literal show that that would be a bad idea - context dependent behaviour in
numeric literals creates all sorts of problems at the level of compiler and
interpreter design.

Cheers,
Nick.

[1] https://mail.python.org/pipermail/python-ideas/2012-October/016768.html

-- 
Nick Coghlan   |   ncogh...@gmail.com   |   Brisbane, Australia
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to