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 écrit :

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 regards,
Simon



--
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/a68c3ea8-b10b-67d1-4456-3f6003af18d6%40gmail.com.


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: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 regards,
> Simon
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-devel+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-devel/qk87o9%2478oi%241%40blaine.gmane.org
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAAWYfq02pEqWhyn_iubMsRbg%2BBAt1z8%2BDFQHmt77yVVJsHq9qg%40mail.gmail.com.


[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 regards,
Simon

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/qk87o9%2478oi%241%40blaine.gmane.org.