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

2019-08-29 Thread Vincent Delecroix
It is sort of normal. [PEP0394] used to say that python should be an alias for python2. But now it says that it should either be python2 or python3. Sage just follows the logic that was in place. [PEP0394] https://www.python.org/dev/peps/pep-0394/ Vincent Le 29/08/2019 à 12:00, Simon King a éc

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

2019-08-29 Thread Dima Pasechnik
is this python2 from your OS, or from Sage's installation? On Thu, 29 Aug 2019 13:00 Simon King, wrote: > Hi! > > The following happens with a Py-3 build of Sage: I open a sage-shell, > and then I get > (sage-sh) king@klap:src$ sage --python --version > Python 3.7.3 > (sage-sh) king@klap:

[sage-devel] Wrong python in Sage shell?

2019-08-29 Thread Simon King
Hi! The following happens with a Py-3 build of Sage: I open a sage-shell, and then I get (sage-sh) king@klap:src$ sage --python --version Python 3.7.3 (sage-sh) king@klap:src$ python --version Python 2.7.15 Is it expected that the default python version in a py-3 install is a py-2? Best