[Python-apps-team] Bug#546522: pylint: false positive on E0611

Alexandre Fayolle alexandre.fayolle at logilab.fr
Mon Sep 14 10:10:14 UTC 2009


tag 546522 +upstream
forwarded 546522 http://www.logilab.org/ticket/8878
thanks

On Sunday 13 September 2009 21:52:15 Yann Dirson wrote:
> Package: pylint
> Version: 0.18.0-1
> Severity: normal
>
> The following relative import fails with
> E0611:  1: No name 'GUI' in module ''
>
> ======== foo/__init__.py
> class GUI(object):
>       pass
> ======== foo/bar.py
> from . import GUI
> ========
>
> Python2.5 has no trouble doing the import.

Hi,

thanks for your feedback. This issue is fixed in pylint 0.18.1 which should be 
uploaded in Debian soon. 

-- 
Alexandre Fayolle                              LOGILAB, Paris (France)
Formations Python, Zope, Plone, Debian:  http://www.logilab.fr/formations
Développement logiciel sur mesure:       http://www.logilab.fr/services
Informatique scientifique:               http://www.logilab.fr/science






More information about the Python-apps-team mailing list