Forums

Upgrading Python version

Just wondering... I went for 2.7 when I started my account. What would the implications be if I just set it to a more recent version? My code is all very simple. Could it break everything? And if I tried and it did, could I just select my old version again?

Is this which python version you are running for your webapp?

It is hard to say what will break vs not break when you switch from python2.7 to python3.x. For example print statements could break. You also may not have the correct libraries installed.

You should be able to switch back, as long as the new code doesn't say wipe your database / add bad/corrupted data into your database etc.