on-internet
← Community

Python 2 vs. Python 3: what does "not backward compatible" mean exactly?

Stack Overflow ·

According to Wikipedia: Python 3.0 was released on 3 December 2008, and was a major revision and not completely backward-compatible with earlier versions, with some new semantics and changed syntax. What does that actually mean? Was it just the syntax which has changed, for example: print vs. print(), so that you can get an old Python 2 script running with some modifications? Or was there something deeper? Because of the usage of Unicode, etc.

Comments

Sign in or sign up to comment and upvote.

No comments yet.