Default python is 3.6?

Dima Pasechnik dimpase+freebsd at gmail.com
Fri Apr 12 20:14:34 UTC 2019


On Fri, Apr 12, 2019 at 9:57 PM Steve Kargl
<sgk at troutmask.apl.washington.edu> wrote:
>
> On Fri, Apr 12, 2019 at 09:19:30PM +0200, Dima Pasechnik wrote:
> > On Fri, Apr 12, 2019 at 6:29 PM Steve Kargl
> > <sgk at troutmask.apl.washington.edu> wrote:
> > >
> > > On Fri, Apr 12, 2019 at 09:17:42AM -0700, Steve Kargl wrote:
> > > >
> > > > % find . -name math\*
> > > > ./work/Python-3.6.8/Doc/library/math.rst
> > > > ./work/Python-3.6.8/Modules/mathmodule.c
> > > > ./work/Python-3.6.8/Lib/test/math_testcases.txt
> > > > ./work/stage/usr/local/lib/python3.6/test/math_testcases.txt
> > > >
> > >
> > > Well, this one is easy to fix.  I've sent this patch for 2 to 3
> > > years now.  I've opened a PR about it.  Someday you guys might
> > > actually fix this, because I will contacting core to get my
> > > commit bit back.
> > >
> > This one is fixed in Python 3.7:
> > https://github.com/python/cpython/blob/3.7/Modules/mathmodule.c
> > via this commit:
> > https://github.com/python/cpython/commit/4e6646fef5d2cc53422e4eca0b18201ed5a5c4b6
> >
> > It is also fixed in Python 2.7.
> > See https://github.com/python/cpython/pull/12027 for details.
>
> Doesn't matter what the python developer have done.

Thanks, I see that you really appreciate my work...

Indeed, the fix in Python 2.7 branch did not make it into 2.7.16 release
of Python 2, so it will only be in the next Python 2 release.
Anyhow, FreeBSD Python maintainers can cherry-pick the relevant upstream
commits.

Dima


More information about the freebsd-ports mailing list