Python Forum
Backwards compatable ? - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Backwards compatable ? (/thread-4555.html)



Backwards compatable ? - louwho - Aug-25-2017

I have done some python for build scripts in the past, but not extensively, and nothing recently. I have a new project, with python written in 3.25, that has compiled .exes (I have not done .exes previously). I have a couple of questions. Python 3.6 is out now, is that fully backward compatible with 3.25 (Thus I can install and learn 3.6)? Also, if it is not backwards compatible, where can I get documentation that is specific to 3.5, so that I can learn what I need to learn.

Not sure if this information is useful here, but this is what is at the top of a setup.py...
import os
import sys
import glob
import boto3
import botocore import BOTOCORE_ROOT
import cx_freeze import setup, Executable
import shutil import copyfile

Huh


RE: Backwards compatable ? - metulburr - Aug-25-2017

i believe all python3.x is backwards compatible with anything in 3.x previous of the current version.


RE: Backwards compatable ? - louwho - Aug-25-2017

your statement agrees with the comments in this link...that I just found...https://www.reddit.com/r/learnpython/comments/6h0oxs/any_major_difference_between_python_34_and_python/


RE: Backwards compatable ? - hbknjr - Aug-26-2017

It's true that python3.x is backward compatible with any other python3, but sometimes some of the dependencies(libraries) do not work with newer version of python. It's rare but it happens, mostly with dead projects. So just make sure your dependencies officially support python3.6 before switching.