3
New Things in Python
One of the most important steps in the history of Python was probably the release of Python 3.0. The most notable changes that happened in that release were:
- Resolving multiple issues regarding text, data, and Unicode handling
- Getting rid of old-style classes
- Starting standard library reorganizations
- Introducing function annotations
- Introducing new syntax for exception handling
As we know from Chapter 1, Current Status of Python, Python 3 isn't backward-incompatible with Python 2. This is the main reason why it took so many years for the Python community to fully embrace it. That was a tough, albeit necessary, lesson for Python core developers and the Python community.
Fortunately, problems associated with the adoption ...
Get Expert Python Programming - Fourth 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.