I have learned that Python 3 is not backwards compatible.
Will it not affect a lot of applications using older versions of Python?
How did the developers of Python 3 not think it was absolutely necessary to make it backwards compatible?
Join Stack Overflow to learn, share knowledge, and build your career.
|
I have learned that Python 3 is not backwards compatible. Will it not affect a lot of applications using older versions of Python? How did the developers of Python 3 not think it was absolutely necessary to make it backwards compatible? |
|||||||||||||||||||||
closed as not constructive by geoffspear, FogleBird, Dominic Rodger, Jakub Hampl, DSM Jan 30 '12 at 16:15As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. If this question can be reworded to fit the rules in the help center, please edit the question. |
|||||||||||||||||||||
|
|||||||||||||||||||||
Is Python 3.0 backward-compatible and why?Python 3.0 implements a lot of very useful features and breaks backward compatibility. It does it on purpose, so the great features can be implemented even despite the fact Python 2.x code may not work correctly under Python 3.x. So, basically, Python 3.0 is not backward-compatible on purpose. Thanks to that, you can benefit from a whole new set of features. It is even called "Python 3000" or "Python 3K". From "What's new in Python 3.0" (available here):
Python features new in 3.0, breaking backward compatibilitySome of the most notable features that may be considered as breaking backward compatibility, but improving the language at the same time, are:
|
|||||||||||||||||||||
|