Warning:

This page is deprecated and no goals should be added/modified here. Please visit https://gitlab.gnome.org/GNOME/Initiatives for more information. Thanks!

GNOME Goal: Python 3 Porting

Introduction

Its time to port all our platform to Python 3, the present and future of Python.

Guidelines

Fortunately there are a lot of literature about porting to Python 3, some examples:

Things to check after the porting:

Make sure to change the shebang to: #!/usr/bin/python3

For modules which have to support both python 2 and 3, add a --with-python configure option; look at pygobject for an example

In JHBuild, change the "pygobject-python2" dependency of your module to "pygobject".

Other Initiatives

Status of this goal

Note: Updated automatical stats can be found at http://people.gnome.org/~fpeters/reports/python3.html

Tip: If you choose to work on a module, create the bug report on the GNOME bugzilla for the relevant module, and make it block bug 684666. This way people will know someone already works on it, and won't duplicate the work you're doing.

State Markup todo <: #ff8080> todo patch <: #ffcc50> [[GnomeBug:xxxxx|patch]] done <: #80ff80> [[GnomeBug:xxxxx|done]] not needed <: #80ff80> not needed

Above are the states and corresponding markup to update the modules state table below.