[Python-Dev] PEP 485 review (isclose())

Victor Stinner victor.stinner at gmail.com
Fri Mar 6 00:03:48 CET 2015


2015-03-03 10:17 GMT+01:00 Victor Stinner <victor.stinner at gmail.com>:
> Maybe it's time to rename the math module to _math and create a
> math.py module, like _decimal/decimal? math.py should end with "from
> _math import *".

Since the idea looks to be well accepted, I proposed a patch to implement it:
http://bugs.python.org/issue23595?

math.py contains 4 constants (e, pi, inf, nan; nan is optionnal) and 4
functions: degrees(), radians(), factorial(), fsum().

See the issue for details.

Victor


More information about the Python-Dev mailing list