Re: [Python-Dev] Python-Dev Digest, Vol 140, Issue 6

2015-03-05 Thread SHAHRUKH KHAN
i think it's time to rename math module to math.py module

On Thu, Mar 5, 2015 at 4:30 PM,  wrote:

> Send Python-Dev mailing list submissions to
> python-dev@python.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://mail.python.org/mailman/listinfo/python-dev
> or, via email, send a message with subject or body 'help' to
> python-dev-requ...@python.org
>
> You can reach the person managing the list at
> python-dev-ow...@python.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Python-Dev digest..."
>
>
> Today's Topics:
>
>1. Re: PEP 485 review (isclose()) (Chris Barker)
>2. Re: PEP 485 review (isclose()) (Guido van Rossum)
>3. Re: PEP 485 review (isclose()) (Brett Cannon)
>4. Re: PEP 485 review (isclose()) (Guido van Rossum)
>5. Re: PEP 485 review (isclose()) (Chris Barker)
>6. Re: Any volunteers to implement PEP 479? (Guido van Rossum)
>7. Re: Any volunteers to implement PEP 479? (Ethan Furman)
>
>
> --
>
> Message: 1
> Date: Wed, 4 Mar 2015 12:12:34 -0800
> From: Chris Barker 
> To: Ethan Furman 
> Cc: Python Dev 
> Subject: Re: [Python-Dev] PEP 485 review (isclose())
> Message-ID:
>  8i3...@mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> 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
> > > math.py module, like _decimal/decimal? math.py should end with "from
> > > _math import *".
> >
> > +1
> >
>
> 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.
>
> -Chris
>
>
>
>
>
> --
>
> Christopher Barker, Ph.D.
> Oceanographer
>
> Emergency Response Division
> NOAA/NOS/OR&R(206) 526-6959   voice
> 7600 Sand Point Way NE   (206) 526-6329   fax
> Seattle, WA  98115   (206) 526-6317   main reception
>
> chris.bar...@noaa.gov
> -- next part --
> An HTML attachment was scrubbed...
> URL: <
> http://mail.python.org/pipermail/python-dev/attachments/20150304/a6ef308b/attachment-0001.html
> >
>
> --
>
> Message: 2
> Date: Wed, 4 Mar 2015 12:22:41 -0800
> From: Guido van Rossum 
> To: Chris Barker 
> Cc: Ethan Furman , Python Dev
> 
> Subject: Re: [Python-Dev] PEP 485 review (isclose())
> Message-ID:
> <
> cap7+vjjmxaqg2nuxaxnsfn4+m7n9-0ac4xde6m07f2-ftnf...@mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> No.
>
> On Wed, Mar 4, 2015 at 12:12 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
> >> > math.py module, like _decimal/decimal? math.py should end with "from
> >> > _math import *".
> >>
> >> +1
> >>
> >
> > 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.
> >
> > -Chris
> >
> >
> >
> >
> >
> > --
> >
> > Christopher Barker, Ph.D.
> > Oceanographer
> >
> > Emergency Response Division
> > NOAA/NOS/OR&R(206) 526-6959   voice
> > 7600 Sand Point Way NE   (206) 526-6329   fax
> > Seattle, WA  98115   (206) 526-6317   main reception
> >
> > chris.bar...@noaa.gov
> >
> > ___
> > Python-Dev mailing list
> > Python-Dev@python.org
> > https://mail.python.org/mailman/listinfo/python-dev
> > Unsubscribe:
> > https://mail.python.org/mailman/options/python-dev/guido%40python.org
> >
> >
>
>
> --
> --Guido van Rossum (python.org/~guido)
> -- next part --
> An HTML attachment was scrubbed...
> URL: <
> http://mail.python.org/pipermail/python-dev/attachments/20150304/e108818c/attachment-0001.html
> >
>
> --
>
> Message: 3
> Date: Wed, 04 Mar 2015 20:23:24 +
> From: Brett Cannon 
> To: Chris Barker , Ethan Furman
> 
> Cc: Python Dev 
> Subject: Re: [Python-Dev] PEP 485 review (isclose())
> Message-ID:
>  2w4pzo25prx+u7m4czx83qd6qw_k2qeztkn-wjyaqhe...@mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> 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
> >> > math.py module, like _decimal/decimal? math.py should end with "from
> >> > _math import *".
> >>
> >> +1
> >>
> >
> > 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

[Python-Dev] Make review

2015-03-05 Thread Serhiy Storchaka
If you have ready patches that wait for review and committing, tell me. 
Send me no more than 5 links to issues per person (for first time) in 
private and I'll try to make reviews if I'm acquainted with affected 
modules or areas.


___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


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

2015-03-05 Thread Victor Stinner
2015-03-03 10:17 GMT+01:00 Victor Stinner :
> 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
___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com