wiki:python2and3CompatiblityEN
close Warning: AdminModule failed with TracError: Unable to instantiate component <class 'trac.ticket.admin.PriorityAdminPanel'> (super(type, obj): obj must be an instance or subtype of type)

Version 1 (modified by Martin Kolman, 12 years ago) ( diff )

--

Making an application compatible with Python 2.5 to 3.2 at the same time

Due to the wide range of Python versions on platforms supported by modRana, the modRana Python source code needs to work on Python 2.5(Maemo 5), Python 3.2(BlackBerry 10) and all versions in between(other platforms).

The six compatibility library

Exception handling

Unicode handling

Library renaming

Note: See TracWiki for help on using the wiki.