Revision 51 as of 2010-09-30 11:58:13

Clear message

This page describes efforts to port PyLint to Python 3.x

Status of the port

Goals and high level overview of tasks

The idea is to add support for Python 3.0 and 3.1, while eliminating Python 2.4 compatibility because that will simplify some of the code.

Resources

These are all things related to doing Python 2 to 3 ports:

The main issues appear to be:

    try:
      iter = d.iteritems()
    except AttributeError:
      iter = d.items()

    try:
      dict_[x]
    except exceptions.AttributeError:
      # not in
    else:
      # in

Details

Working with the SCM

Running the tests

Notes on logilab-common

handling with different Python versions. This is also to be used for astng / pylint. Until now, it could be avoided to use sa2to3.

at least:

nevertheless can be used for running the astng/pylint tests.

Notes on Astng

and some 'visit_<node_name>' methods for the visitors in Astng.

Unable to edit the page? See the FrontPage for instructions.