from
Sylvain Thénault <sylvain.thenault at logilab dot fr>
to
Axel Müller <axel.mueller at amit-services dot de>
subject
Re: [Python-projects] PyXML import
date
On Wednesday 19 January à 08:50, Axel Müller wrote:2005/01/19 09:24
> Hi all,
Heya
> I've installed PyXML on Python-2.3.3 and I'm able to import it:
>
> /opt/python-2.3.3/bin/python
> >>from xml.dom.ext.reader import Sax2
> >>
>
> But if I test a file testimport.py with just
>
> ------file start-----
> from xml.dom.ext.reader import Sax2
> ------file end---------
>
> pylint says:
>
> ---pylint start -----
> F: 1: Unable to import 'xml.dom.ext.reader.Sax2' (No module 'xml.dom.ext')
> ---pylint end ---
>
> PYTHONPATH=/opt/python-2.3.3/lib/python2.3
>
> Is there a bug in PyXML or in pylint?
I guess that pylint doesn't like pyxml's trick to be override the xml
package of the standard library. I'll take a look at that.
Anyway, I think you really need the next pylint/common release ! I'll
try to publish them before the end of the week. Stay tuned !
--
Sylvain Thénault LOGILAB, Paris (France).
http://www.logilab.com http://www.logilab.fr http://www.logilab.org
_______________________________________________
Python-Projects mailing list
Python-Projects@lists.logilab.org
http://lists.logilab.org/mailman/listinfo/python-projects
