Date: Mon, 19 Jun 2017 20:49:27 -0700 From: Steve Kargl <sgk@troutmask.apl.washington.edu> To: Kubilay Kocak <koobs@FreeBSD.org> Cc: freebsd-ports@freebsd.org, python@FreeBSD.org Subject: Re: [PATCH] lang/python27 -- Fix namespace collision Message-ID: <20170620034927.GA75540@troutmask.apl.washington.edu> In-Reply-To: <9090f327-3266-35b3-8bf3-f83b7c741fe2@FreeBSD.org> References: <20170618182905.GA67867@troutmask.apl.washington.edu> <20170618183112.GA67920@troutmask.apl.washington.edu> <9090f327-3266-35b3-8bf3-f83b7c741fe2@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170620034927.GA75540>