Supporting Python 3: An in-depth guide¶
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.
Crowd funding successful!¶
This book has been helpful for a lot of people, but is now in risk of getting outdated. But that’s tp the community helping out this book will make it into a community project that everyone can update!
Get the book!¶
- PDF version! Get it for when you are offline!
- Paperback version! Yes, the book is back in print! For reading in bed or at the beach! It’s available from many channels:
- 14 more pages!
- Several new tricky bits explained!
- Fewer spelling errors!
- 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, still fairly short.