With the upcoming importance of Python 3 there is a growing need for both migrating existing Python 2 modules to Python 3 but also maintaining the code for Python 2. There are several approaches for dealing with Python code that must be compatible for both Python 2 and Python 3. Stefan Schwarzer will show an approach how to maintain the very same code for Python 2 and Python 3 simultaneously while avoiding two dedicated code bases. The talk discusses the main problems when supporting Python 3 and best practices to apply for compatibility with Python 2 and 3.
Dr. Stefan Schwarzer uses Python since the last millennium and he has published multiple articles and a book on Python and is a regular speaker at Python and Linux conferences. Stefan holds a PhD in chemical engineering but he is working in software development since 2000 and works nowadays as software development freelancer. He is the maintainer of the FTP client library ftputil.