On 01 avril 12:23, Alex Margarit wrote: > Hi, Hi, > Thank you for your feedback, Sylvain. I agree that the root of the > problem lies in the block range. > > I attached a new patch that removes the string comparison with a > cleaner instanceof check. Tests are included too.
Great, some test. Now, if you agree the root of the pb lies in the block range computation, why don't you try to find what's going wrong there ? I definitly feel bad about fixing that pb the way you propose 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 Python-Projects@lists.logilab.org http://lists.logilab.org/mailman/listinfo/python-projects