[Bug 232792] Namespace pollution in all python ports

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Dec 9 09:25:00 UTC 2019


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

--- Comment #16 from commit-hook at freebsd.org ---
A commit references this bug:

Author: lwhsu
Date: Mon Dec  9 09:24:15 UTC 2019
New revision: 519597
URL: https://svnweb.freebsd.org/changeset/ports/519597

Log:
  MFH: r519233 r519241 r519244

  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

  Backport fix of https://bugs.python.org/issue32849

  This is needed for starting sysutils/azure-agent at boot:
  https://github.com/Azure/WALinuxAgent/issues/1687

  Obtained from:       
https://github.com/python/cpython/pull/12852/commits/f9c01a16dae8aa15d264a1937fb589e8598d1c88
  Sponsored by: The FreeBSD Foundation

  Fix makefile ordering.

  Reported by:  mat

  Approved by:  ports-secteam (miwi)
  Sponsored by: The FreeBSD Foundation

Changes:
  branches/2019Q4/lang/python35/Makefile
  branches/2019Q4/lang/python35/distinfo
  branches/2019Q4/lang/python36/Makefile
  branches/2019Q4/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