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, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.