I\'m sure this is a subject that\'s on most python developers\' minds considering that Python 3 is coming out soon. Some questions to get us going in the right direction:>
The Django project uses the library six to maintain a codebase that works simultaneously on Python 2 and Python 3 (blog post).
six does this by providing a compatibility layer that intelligently redirects imports and functions to their respective locations (as well as unifying other incompatible changes).