[XML-SIG] expath and python2.2 debian bug

Alexandre Alexandre.Fayolle@logilab.fr
Wed, 24 Jul 2002 17:05:33 +0200


Here's the answer I received.

----- Forwarded message from Jenya <me@oblom.com> -----

From: Jenya <me@oblom.com>
To: Alexandre <alf@logilab.fr>
Date: Wed, 10 Jul 2002 21:03:12 +0300
Subject: Re: Bug#150763: python2.2-xml: in /sax/expatreader.py, expat.ParserCreate takes wrong number of arguments


Here the output :
------------------
<module 'xml.parsers.expat' from 
'/usr/lib/python2.2/site-packages/_xmlplus/parsers/expat.pyc'>
Traceback (most recent call last):
  File "1", line 3, in ?
    from xml.parsers import pyexpat
ImportError: cannot import name pyexpat
-------------------------

but if i do it a bit different, then : 
>>> import pyexpat
>>> print pyexpat
<module 'pyexpat' from '/usr/lib/python2.2/lib-dynload/pyexpat.so'>
>>> print pyexpat.__version__
2.57
>>> print pyexpat.version_info
(1, 95, 2)
>>>


my version of python2.2-xmlbase seems to be 2.2.1-5


Regards,
	Evgeny


On Wednesday 10 July 2002 20:14, you wrote:
> I'm sorry I was not able to reproduce your bug.
>
> Could you send me the output of the following python script:
>
> from xml.parsers import expat
> print expat
> from xml.parsers import pyexpat
> print pyexpat
> print pyexpat.__version__
> print pyexpat.version_info
>
> What I get here with a fresh installation is:
>
> <module 'xml.parsers.expat' from
> '/usr/lib/python2.2/site-packages/_xmlplus/parsers/expat.pyc'>
> <module 'xml.parsers.pyexpat' from
> '/usr/lib/python2.2/site-packages/_xmlplus/parsers/pyexpat.so'>
> 2.58
> (1, 95, 2)
>
> Alexandre Fayolle

----- End forwarded message -----

-- 
Alexandre Fayolle
-- 
LOGILAB, Paris (France).
http://www.logilab.com   http://www.logilab.fr  http://www.logilab.org
Narval, the first software agent available as free software (GPL).