On 12 août 16:02, Dan Stromberg wrote:
> On Thu, Aug 12, 2010 at 2:08 PM, Shashwat Anand 
> <[email protected]>wrote:
> 
> >
> >
> > On Fri, Aug 13, 2010 at 2:33 AM, Tshepang Lekhonkhobe 
> > <[email protected]>wrote:
> >
> >> Hi,
> >>
> >> So where do I start if I want Pylint ported to Py3k? Is there a branch
> >> somewhere?
> >>
> >>
> > I have no idea. But please do so. It is _needed_.
> >
> I agree that it's badly needed.
> 
> For starters, you could probably look over the various changes in 3.0 and
> 3.1, and compile a list of what needs to change in the code.
> http://www.google.com/search?sourceid=chrome&ie=UTF-8&q=list+of+changes+in+python+3
> 
> >From there, the changes could probably be prioritized, and coded one by one
> or in parallel.

IMO, we should rather start launching the 2to3 transformer on pylint and its 
dependencies, and at first see what can be made to avoid things it doesn't
deal with. As I see it, the ideal solution would be a purely generated py3k
branch (eg no manual changes needed), but I've no experience yet with the 2to3
tool and doesn't know if this is possible (I doubt it is actually, at least for
lib such as logilab-astng).

And we can at least do 3 tasks in parallel: make pylint, logilab-astng and 
logilab-common
py3k compliant...

> There's also the issue of whether pylint would run on python 2 while
> checking python 3, or run on python 3 while checking python 3 - I don't know
> if there's some AST library that would need to match or not.

as Marteen told, that won't work, so we won't worry about it.
 
-- 
Sylvain Thénault                               LOGILAB, Paris (France)
Formations Python, Debian, Méth. Agiles: http://www.logilab.fr/formations
Développement logiciel sur mesure:       http://www.logilab.fr/services
CubicWeb, the semantic web framework:    http://www.cubicweb.org

_______________________________________________
Python-Projects mailing list
[email protected]
http://lists.logilab.org/mailman/listinfo/python-projects

Reply via email to