Appendix C. Python 3: The Evolution of a Programming Language

Matz (the author of Ruby) has a great quote, “Open Source needs to move or die.”

—Guido van Rossum, March 2008(verbally at PyCon conference)

Python 3 represents an evolution of the language such that it will not execute most older code that was written against the version 2.x interpreters. This doesn’t mean that you won’t recognize the old code any more, or that extensive porting is required to make old code work under version 3.x. In fact, the new syntax is quite similar to that of the past. However, when the print statement no longer exists, it makes it easy to disrupt the old code. In this appendix, we discuss print and other version 3.x changes, and we shed some light on the required ...

Get Core Python Applications Programming, Third Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.