[Bug 232792] Namespace pollution in all python ports
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Dec 7 19:12:05 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232792
--- Comment #14 from commit-hook at freebsd.org ---
A commit references this bug:
Author: tcberner
Date: Sat Dec 7 19:11:48 UTC 2019
New revision: 519233
URL: https://svnweb.freebsd.org/changeset/ports/519233
Log:
Fix namespace pollution in python3.5 and python3.6 (upstreamed fix)
The standard math library (libm) may follow IEEE-754 recommendation to
include an implementation of sinPi(), i.e. sinPi(x):=sin(pi*x).
And this triggers a name clash, found by FreeBSD developer
Steve Kargl, who worked on putting sinpi into libm used on FreeBSD
(it has to be named "sinpi", not "sinPi", cf. e.g.
https://en.cppreference.com/w/c/experimental/fpext4).
- python2.7 and > 3.6 are already fixed
PR: 232792
Submitted by: Steve Kargl <sgk at troutmask.apl.washington.edu>, Dima Pasechnik
<dimpase+freebsd at gmail.com>
Approved by: python (maintainer timeout)
Obtained from:
https://github.com/python/cpython/commit/b545ba0a508a5980ab147ed2641a42be3b31a2db
Changes:
head/lang/python35/Makefile
head/lang/python35/distinfo
head/lang/python36/Makefile
head/lang/python36/distinfo
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-python
mailing list