Migration to Python 3: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
(Created page with "After a successful GOSC 2017 project that brought Python 3 (3.6 exactly) to Kodi it was decided that starting one of the next releases (19 M* preliminarily)Kodi will include a...")
 
No edit summary
Line 1: Line 1:
After a successful GOSC 2017 project that brought Python 3 (3.6 exactly) to Kodi it was decided that starting one of the next releases (19 M* preliminarily)Kodi will include a Python 3 as a an environment for running Python addons. Since Python 3 is not backward compatible with 2.x versions addon developers will have to convert their addons to Python 2/3-compatible code so that their addons will run both in current and future Kodi versions. This page contains information that should help addon developers in this conversion process.
After a successful GOSC 2017 project that brought Python 3 (3.6 exactly) to Kodi it was decided that starting one of the next releases (19 M* preliminarily) Kodi will include a Python 3 as a an environment for running Python addons. Since Python 3 is not backward compatible with 2.x versions addon developers will have to convert their addons to Python 2/3-compatible code so that their addons will run both in current and future Kodi versions. This page contains information that should help addon developers in this conversion process.


* [[General information about migration to Python 3]]
* [[General information about migration to Python 3]]
* [https://forum.kodi.tv/forumdisplay.php?fid=281 Python 3 migration section on the Kodi forum]
* [https://forum.kodi.tv/forumdisplay.php?fid=281 Python 3 migration section on the Kodi forum]

Revision as of 10:45, 4 January 2018

After a successful GOSC 2017 project that brought Python 3 (3.6 exactly) to Kodi it was decided that starting one of the next releases (19 M* preliminarily) Kodi will include a Python 3 as a an environment for running Python addons. Since Python 3 is not backward compatible with 2.x versions addon developers will have to convert their addons to Python 2/3-compatible code so that their addons will run both in current and future Kodi versions. This page contains information that should help addon developers in this conversion process.