[PATCH] lang/python27 -- Fix namespace collision
Steve Kargl
sgk at troutmask.apl.washington.edu
Tue Jun 20 03:49:34 UTC 2017
On Tue, Jun 20, 2017 at 01:06:28PM +1000, Kubilay Kocak wrote:
> On 6/19/17 4:31 AM, Steve Kargl wrote:
> > On Sun, Jun 18, 2017 at 11:29:05AM -0700, Steve Kargl wrote:
> >> Both IEEE-754 2008 and ISO/IEC TS 18661-4 define the half-cycle
> >> trignometric functions cospi, sinpi, and tanpi. When libm (aka
> >> math.h) grows support for sinpi(x), lang/python27 has a namespace
> >> collision. The attached patch fixes the problem.
> >>
>
> Is this issue relevant only for particular (and/or future) FreeBSD
> versions ('where libm grows supports for x, y') or independent of base
> entirely?
It will be an issue with a future BSD. It seems to take a long time
before any of my libm improvements are committed. At the moment, bde
and I are probably the only people with sinpi(x) in our libm.
I do, however, anticipate that glibc will get these functions in
the future as portions of ISO/IEC TS 18661-4 have already been
implemented.
> Also, could you open an upstream issue regarding this please, as a
> long-term target for all local (Python port) patches is that they are
> included upstream.
In the 5 minutes that I've searched, I've found https://bugs.python.org/
but there are no instructions on how to submit a bug report.
--
Steve
20170425 https://www.youtube.com/watch?v=VWUpyCsUKR4
20161221 https://www.youtube.com/watch?v=IbCHE-hONow
More information about the freebsd-python
mailing list