[sage-devel] Re: Wrong python in Sage shell?

2019-08-29 Thread John H Palmieri
On Thursday, August 29, 2019 at 7:15:51 AM UTC-7, Frédéric Chapoton wrote: > > Hello > > Somebody (else) should make sure that every single remaining piece of > python2 is removed from a python3 sage. In particular, we should not build > python2 at all. > See

Re: [sage-devel] Re: Wrong python in Sage shell?

2019-08-29 Thread Jeroen Demeyer
On Thu, Aug 29, 2019 at 6:02 PM Samuel Lelievre wrote: > Possibly somewhat related (sorry if not): after building Sage > for Python 3, running `sage -t` lets the doctesting framework > decide what to set `optional` to, and apparently it uses > "python2" rather than "python3"; is this the desired

[sage-devel] Re: Wrong python in Sage shell?

2019-08-29 Thread Samuel Lelievre
Possibly somewhat related (sorry if not): after building Sage for Python 3, running `sage -t` lets the doctesting framework decide what to set `optional` to, and apparently it uses "python2" rather than "python3"; is this the desired behaviour? $ ./sage --python --version Python 3.7.3 $ ./sage -t

[sage-devel] Re: Wrong python in Sage shell?

2019-08-29 Thread Frédéric Chapoton
Hello Somebody (else) should make sure that every single remaining piece of python2 is removed from a python3 sage. In particular, we should not build python2 at all. Frédéric Le jeudi 29 août 2019 12:35:46 UTC+2, Simon King a écrit : > > Hi Dima, > > On 2019-08-29, Dima Pasechnik > wrote:

[sage-devel] Re: Wrong python in Sage shell?

2019-08-29 Thread Simon King
Hi Dima, On 2019-08-29, Dima Pasechnik wrote: > is this python2 from your OS, or from Sage's installation? >From Sage's installation (apparently Sage-with-py-3 also builds python-2): (sage-sh) king@klap:~$ which python /home/king/Sage/git/py3/local/bin/python (sage-sh) king@klap:~$