On 06 septembre 14:35, Emile Anclin wrote: > > > 3) pylint; make tests pass with py3k, write new visit_* methods and > > > test... > > > > there should be no need for new visit_* methods, beside if we want > > new functionnalities. > > Well, the minimal Pylint-3k program could indeed consist of just make > pylint run against python >= 3.0.
that's the idea, as explained earlier in this thread. > Soon enough though, Pylint-3k should check new functionalities like > "nonlocals", handle set generators, take into account > Extended Iterable Unpacking: > "a, *rest, b = stuff" > > though, maybe all that will be astng's job... Take care to distinguish what needs to be *understood* by astng from what's *checked* by pylint. We'll much probably have to make astng py3k aware w/ regards to inference & all, though in a first time there should be almost no change in pylint. > > > Fully Automated conversion will not work. We have more than syntactic > > > changes to do: we have different trees with new nodes, nodes that > > > disappear... > > > > We already deal with this kind of pb with different python versions, so > > that should not be the show stopper. > > Well, what I meant is that just running 2to3 on all modules will > definitely not be possible. > We will have to implement at least the convenient astng nodes > with inference methods and the like. Yes, but that's not different than when py2.4 introduce Decorator node for instance, we've still the same astng version dealing with python 2.3 to 2.5... > But maybe that's the main job after all (except that a lot of tests > will have to be adapted) That will much probably be the hard part. -- 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 Python-Projects@lists.logilab.org http://lists.logilab.org/mailman/listinfo/python-projects