Support Python 2 and 3 with the same code

Published: 24 July 2014
on channel: EuroPython 2014
486
3

Your library supports only Python 2, - but your users keep nagging you about Python 3 support?

As Python 3 gets adopted more and more, users ask for Python 3 support in existing libraries for Python 2. Although there are several approaches, this talk focuses on using the very same code for a Python 2 and a Python 3 version.

The talk discusses the main problems when supporting Python 3 and best practices to apply for compatibility with Python 2 and 3.


On this page of the site you can watch the video online Support Python 2 and 3 with the same code with a duration of hours minute second in good quality, which was uploaded by the user EuroPython 2014 24 July 2014, share the link with friends and acquaintances, this video has already been watched 486 times on youtube and it was liked by 3 viewers. Enjoy your viewing!