[issue37132] Add a module for integer related math functions
Mark Dickinson
report at bugs.python.org
Sun Jun 2 07:10:30 EDT 2019
Mark Dickinson <dickinsm at gmail.com> added the comment:
Some questions:
- What's the plan for the existing functions `math.gcd` and `math.factorial`? Do they eventually get deprecated, or do we keep `gcd` and `factorial` in both `math` and `imath`?
- Does PEP 399 apply here? If so, we'll need a pure Python version as well as a C version
- Should `imath.isqrt` be renamed to `imath.sqrt`?
- What's the actual benefit of this separation?
This feels like a really big change to be making a day before feature freeze; I'm not convinced that we don't need a PEP for this. How bad would it be if we have to defer until 3.9?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37132>
_______________________________________
More information about the Python-bugs-list
mailing list