Mark Dickinson wrote:
> * There's a per-thread state for division operator. In IEEE 754 mode
> 1./0. and 1.%0. return INF and 0./0. NAN. The contextlib has a new
> context "ieee754" and the math lib set_ieee754/get_ieee754 (XXX better
> place for the functions?)
I would put the context manager in the math module as well. contextlib
is intended for generic context related tools (like nested() and
closing() that don't have a more topical home.
Cheers,
Nick.
--
Nick Coghlan | [EMAIL PROTECTED] | Brisbane, Australia
---------------------------------------------------------------
http://www.boredomandlaziness.org
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com