Re: [Python-ideas] Is it Python 3 yet?

2017-02-06 Thread Mike Miller
Hmm, agreed. BTW, I think the current download page is *way* too complicated for new comers. There should be a giant button for the latest 3.x/64 (platform sniffed), and below it a more subtle button for the "LTS" 2.X/32. The rest of the choices and text should be pushed to another page

Re: [Python-ideas] Using Python for end user applications

2017-02-06 Thread C Anthony Risinger
On Sat, Jan 28, 2017 at 5:26 AM, Paul Moore wrote: > On 28 January 2017 at 02:11, C Anthony Risinger wrote: > > I can't articulate it we'll, or even fully isolate the reasons for it. > All I > > really know is how I feel when peers ask me about Python or

Re: [Python-ideas] math.nextafter

2017-02-06 Thread M.-A. Lemburg
On 07.02.2017 00:46, Steven D'Aprano wrote: > On Mon, Feb 06, 2017 at 11:29:17AM +0100, M.-A. Lemburg wrote: > >> I'm not sure how useful this would be in the stdlib, >> since it's very much tied to whatever float type Python >> happens to use on a platform. > > With the possible exception of

Re: [Python-ideas] math.nextafter

2017-02-06 Thread Steven D'Aprano
On Mon, Feb 06, 2017 at 11:29:17AM +0100, M.-A. Lemburg wrote: > I'm not sure how useful this would be in the stdlib, > since it's very much tied to whatever float type Python > happens to use on a platform. With the possible exception of µPy, are there any Python implementations which don't

Re: [Python-ideas] math.nextafter

2017-02-06 Thread Juraj Sukop
Do you mean something like: isclose(f(x), 0.0, rel_tol, abs_tol) If so, what should `rel_tol` and `abs_tol` be? On Mon, Feb 6, 2017 at 2:16 PM, M.-A. Lemburg wrote: > On 06.02.2017 13:22, Juraj Sukop wrote: > > On Mon, Feb 6, 2017 at 11:29 AM, M.-A. Lemburg

Re: [Python-ideas] math.nextafter

2017-02-06 Thread M.-A. Lemburg
On 06.02.2017 13:22, Juraj Sukop wrote: > On Mon, Feb 6, 2017 at 11:29 AM, M.-A. Lemburg wrote: > >> >> Juraj: Could you provide some use cases, where such a function >> would help in Python applications ? (I can see use cases >> written in C, but due to the low level, find it

Re: [Python-ideas] math.nextafter

2017-02-06 Thread Juraj Sukop
On Mon, Feb 6, 2017 at 11:29 AM, M.-A. Lemburg wrote: > > Juraj: Could you provide some use cases, where such a function > would help in Python applications ? (I can see use cases > written in C, but due to the low level, find it hard to > believe that people would use this at

Re: [Python-ideas] math.nextafter

2017-02-06 Thread M.-A. Lemburg
On 04.02.2017 12:59, Stephan Houben wrote: > Hi all, > > Visual C++ 2015 supports this one: > > https://msdn.microsoft.com/en-us/library/h0dff77w.aspx > > In any case, this is easy to implement an efficient fallback in C, unlike > the fma() function we discussed some time ago. > > To put this