Re: [Python-ideas] Fused multiply-add (FMA)

2017-01-15 Thread Mark Dickinson
On Sun, Jan 15, 2017 at 5:25 PM, Juraj Sukop wrote: > This proposal is then about adding new `fma` function with the following > signature to `math` module: > > math.fma(x, y, z) Sounds good to me. Please could you open an issue on the bug tracker (http://bugs.python.org)? Thanks, Mark

Re: [Python-ideas] [PEP-0541] On issues with reclaiming namespaces in PyPi

2017-01-15 Thread Ethan Furman
On 01/15/2017 08:40 AM, Chris Rose wrote: I want to address one gap in the PEP regarding reclaiming abandoned names. This should be on the DistUtils sig where the PEP is being discussed. -- ~Ethan~ ___ Python-ideas mailing list [email protected]

Re: [Python-ideas] Fused multiply-add (FMA)

2017-01-15 Thread Chris Angelico
On Mon, Jan 16, 2017 at 4:25 AM, Juraj Sukop wrote: > There is a simple module for Python 3 demonstrating the fused multiply-add > operation which was build with simple `python3 setup.py build` under Linux > [9]. > > Any feedback is greatly appreciated! +1. Just tried it out, and apart from dropp

Re: [Python-ideas] Fused multiply-add (FMA)

2017-01-15 Thread Stephan Houben
Hi Juraj, I think this would be a very useful addition to the `math' module. The gating issue is probably C compiler support. The most important non-C99 C compiler for Python is probably MS Visual Studio. And that one appears to support it: https://msdn.microsoft.com/en-us/library/mt720715.aspx

[Python-ideas] Fused multiply-add (FMA)

2017-01-15 Thread Juraj Sukop
Hello! Fused multiply-add (henceforth FMA) is an operation which calculates the product of two numbers and then the sum of the product and a third number with just one floating-point rounding. More concretely: r = x*y + z The value of `r` is the same as if the RHS was calculated with infinit

[Python-ideas] [PEP-0541] On issues with reclaiming namespaces in PyPi

2017-01-15 Thread Chris Rose
I want to address one gap in the PEP regarding reclaiming abandoned names: Version reuse. The problem with reusing names is that existing applications or installations that reference the old one, unless they pin the version name precisely. Even in that case, I foresee issues with version collision,

Re: [Python-ideas] Python dependancies

2017-01-15 Thread Jelle Zijlstra
2017-01-14 21:24 GMT-08:00 Mathieu TORTUYAUX : > Hello everyone, > > I'm used to work with python and contribute to open-source projects. And > now, many projects need to run with dependancies. So I wondering, if it > could be a good idea to integrate a sniffer into Python to detecte if > project'

Re: [Python-ideas] Python dependancies

2017-01-15 Thread Pavol Lisy
On 1/15/17, Steven D'Aprano wrote: > On Sun, Jan 15, 2017 at 12:24:29AM -0500, Mathieu TORTUYAUX wrote: >> And each time Python project is run developer will be aware if >> dependancies >> are up to date. > > That would be awful. It would be pure noise. If I'm running an old > version of somethin

Re: [Python-ideas] Python dependancies

2017-01-15 Thread Steven D'Aprano
On Sun, Jan 15, 2017 at 12:24:29AM -0500, Mathieu TORTUYAUX wrote: > Hello everyone, > > I'm used to work with python and contribute to open-source projects. And > now, many projects need to run with dependancies. So I wondering, if it > could be a good idea to integrate a sniffer into Python to d