In this case I disagree. The math module mostly wraps the C math library and the bar should remain high for things to be added to it. Let this be someone's opportunity to learn C (I guess not Chris's :-).

On Wed, Mar 4, 2015 at 12:23 PM, Brett Cannon <> wrote:

On Wed, Mar 4, 2015 at 3:14 PM Chris Barker <> wrote:
On Tue, Mar 3, 2015 at 8:43 AM, Ethan Furman <> wrote:
On 03/03/2015 01:17 AM, Victor Stinner wrote:
> Maybe it's time to rename the math module to _math and create a
> module, like _decimal/decimal? should end with "from
> _math import *".


What do folks think? If we're going to do this, I'll write isclose() in python. And I could do the work to split it out, too, I suppose.

My vote -- as always -- is to do it in Python. If someone is sufficiently motivated to re-implement in C then that's great, but I don't think it should be required to be in C.

Python-Dev mailing list

--Guido van Rossum (