[Python-projects] logilab-common regression (pylint E0611 false positive)

Andrey Rahmatullin wrar at altlinux.ru
Tue Apr 7 18:05:09 CEST 2009


On Tue, Apr 07, 2009 at 08:36:51AM +0200, Sylvain Th??nault wrote:
> hum strange. Could you :
> $ python
> >>> import xml.etree
> >>> print xml.__path__
> >>> print xml.etree.__path__
> >>> print xml.etree.__file__
> 
> on both systems so we get a hint on the difference?

Good:

>>> print xml.__path__
['/usr/lib/python2.5/xml']
>>> print xml.etree.__path__
['/usr/lib/python2.5/xml/etree']
>>> print xml.etree.__file__
/usr/lib/python2.5/xml/etree/__init__.pyc

Bad:

>>> print xml.__path__
['/usr/lib/python2.5/site-packages/_xmlplus', '/usr/lib/python2.5/xml']
>>> print xml.etree.__path__
['/usr/lib/python2.5/xml/etree']
>>> print xml.etree.__file__
/usr/lib/python2.5/xml/etree/__init__.pyc

$ rpm -qf /usr/lib/python2.5/site-packages/_xmlplus
python-module-PyXML-0.8.4-alt3


-- 
WBR, wRAR (ALT Linux Team)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.logilab.org/pipermail/python-projects/attachments/20090407/a5b11747/attachment-0270.sig>


More information about the Python-Projects mailing list