# Will upgrading to Python 3.x on my system break Sage?

I want to use Python 3.2 for some other things, but I know that Sage does not work with Python 3.x. But I also know that Sage comes with its own version of Python. So can I upgrade my system's Python and let Sage use it's own Python 2.x? Will this happen automatically?

A side note: The barriers to using Python 3.x in Sage, as listed on the FAQ page, are SciPy and Cython, however recent versions of both now seem to support 3.x:

As another point, there is a massive amount of code in worksheets and elsewhere that assumes Python 2.x - in particular with the print statement, but presumably also in other less obvious places. So changing to Python 3.x would mean a big change for those people as well. Unless we could make all of Sage compatible with both via the preparser...

We will definitely switch to Python 3.x at some point. It's clearly the future. And you can do "set comprehensions" like "{a*a for a in range(10)}".

We will definitely switch to Python 3.x at some point. It's clearly the future. And you can do "set comprehensions!"

I have to say, that is definitely cool. Yes, clearly lots of benefits - just a big nightmare to port.