Porting to Python 3 doesn't have to be daunting. This book guides you through the process of porting your Python 2 code to Python 3, from choosing a porting strategy to solving your distribution issues.
Using plenty of code examples is takes you cross the hurdles and shows you the new Python features. This book covers - Migration strategies - Preparing for Python 3 - Porting with 2to3 - Common migration problems - Improving your code with modern idioms - Supporting Python 2 and Python 3 without 2to3 conversion - Migrating C extensions - Extending 2to3 with your own fixers - Language differences and workarounds - Reorganizations and renamings.
Using plenty of code examples is takes you cross the hurdles and shows you the new Python features. This book covers - Migration strategies - Preparing for Python 3 - Porting with 2to3 - Common migration problems - Improving your code with modern idioms - Supporting Python 2 and Python 3 without 2to3 conversion - Migrating C extensions - Extending 2to3 with your own fixers - Language differences and workarounds - Reorganizations and renamings.
Title Porting to Python 3: An In-depth Guide
Author(s) Lennart Regebro
Publisher: CreateSpace (May 30, 2012);
Hardcover 496 pages
Language: English
ISBN-10: 1475234031
ISBN-13: 978-1475234039
eBook: http://python3porting.com/
Author(s) Lennart Regebro
Publisher: CreateSpace (May 30, 2012);
Hardcover 496 pages
Language: English
ISBN-10: 1475234031
ISBN-13: 978-1475234039
eBook: http://python3porting.com/
No comments:
Post a Comment