Date: Fri, 6 Dec 2019 10:40:50 -0800 From: Steve Kargl <sgk@troutmask.apl.washington.edu> To: freebsd-ports@freebsd.org Subject: python36 is still broken. Message-ID: <20191206184050.GA44417@troutmask.apl.washington.edu>
next in thread | raw e-mail | index | archive | help
This has been reported for many years and there are open bug reports. Any chance that the this will be fixed. --- work/Python-3.6.9/Modules/mathmodule.c.orig 2019-12-06 10:33:39.232673000 -0800 +++ work/Python-3.6.9/Modules/mathmodule.c 2019-12-06 10:34:53.288616000 -0800 @@ -67,7 +67,7 @@ static const double logpi = 1.144729885849400174143427351353058711647; static double -sinpi(double x) +a_really_bad_idea_sinpi(double x) { double y, r; int n; @@ -296,7 +296,7 @@ integer. */ if (absx > 200.0) { if (x < 0.0) { - return 0.0/sinpi(x); + return 0.0/a_really_bad_idea_sinpi(x); } else { errno = ERANGE; -- Steve
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20191206184050.GA44417>