On 16 août 09:33, Sylvain Thénault wrote: > On 14 août 15:54, Nikolaus Rath wrote: > > Hi, > > Hi, > > > Why does the following code generate an E0611 warning? It seems > > perfectly alright to me: > > > > $ pylint mymodule/bar.py > > ************* Module mymodule.bar > > C0111: 1: Missing docstring > > C0102: 1: Black listed name "bar" > > E0611: 4: No name 'foo' in module '' > > W0611: 4: Unused import bla > > > > $ pylint --version > > pylint 0.21.1, > > astng 0.20.1, common 0.50.3 > > Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56) > > [GCC 4.4.3] > > sounds like a new py2.6 relative import bug. Would you file a ticket please?
huum, sounds like there is already one. Simply remains to tackle it now :) > > This is the code: > [snip] > > Thani you for reporting this, regards, should read 'thank' :) -- 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
