Supporting Python 3 doesn’t have to be daunting. This book guides you through the process of adding Python 3 support, from choosing a strategy to solving your distribution issues. Using plenty of code examples, it guides you across the hurdles and shows you the new Python features.
2016-10-23: The first release of the community version!¶
After almost a year of delay, the community version of the book is finally here! The book has been renamed to “Supporting Python 3” to signal both that something happened to the book, and to signal that it’s no longer a question of porting.
Another change is that this site will be rebuilt on a nightly basis, so it’s always the latest version. I have also retired the paper version completely. If you want to sponsor a print run of the paper book, contact me! They make good giveaways for Python conferences!
- About this book
- Welcome to Python 3
- Migration strategies
- Preparing for Python 3
- Common migration problems
- Improving your code with modern idioms
- Supporting Python 2 and 3 without 2to3 conversion
- Migrating C extensions
- Extending 2to3 with your own fixers
- Language differences and workarounds
- Reorganizations and renamings
There is also a list of Errata that covers the earlier printed editions of “Porting to Python 3”.