[PATCH] lang/python27 -- Fix namespace collision

Kubilay Kocak koobs at FreeBSD.org
Tue Feb 26 08:57:26 UTC 2019


On 26/02/2019 12:35 am, dimpase+freebsd at gmail.com wrote:
> On 6/20/17 Kubilay Kosak 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?
> 
>> 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.
> 
> I've created a Python PR to fix this:
> 
> https://github.com/python/cpython/pull/12027
> 
> Dima
> 
>> This also ensures we can document all patches with their relevant
>> upstream issue/commit references for our future selves and others.
> 
>> ./koobs
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
> 

Thank you Dima! :)

I've added the upstream PR to #232792 [1] and will track upstream progress.

[1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232792

./koobs


More information about the freebsd-ports mailing list