[issue46187] Optionally support rounding for math.isqrt()

Raymond Hettinger report at bugs.python.org
Thu Dec 30 23:02:51 EST 2021


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

So, are you going to reject my feature request?  I don't understand why.  Both Mark and I have had valid use cases.  The implementation is straight-forward and simple.  The workaround is slow and non-obvious.  The default remains the same so that usability isn't impaired in any way.  There is basically zero downside other that feeling icky about mode flags in general.

With respect to itertools, I did add *initial* to accumulate() solely because you wanted it ;-)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46187>
_______________________________________


More information about the Python-bugs-list mailing list