PyXML-0.7.1, python-2.2.1, and Redhat 7.3

Steve Drake sdrake at knology.net
Tue Jul 30 11:10:29 EDT 2002


Here's what I got...

>>> import pyexpat
>>> pyexpat.__version__
'2.57'
>>> pyexpat.ParserCreate(intern={})
Traceback (most recent call last):
  File "<pyshell#3>", line 1, in ?
    pyexpat.ParserCreate(intern={})
TypeError: 'intern' is an invalid keyword argument for this function

Jonathan Hogg <jonathan at onegoodidea.com> wrote in message news:<B96C0F8A.EC6E%jonathan at onegoodidea.com>...
> On 30/7/2002 9:36, in article B96C0EAF.EC64%jonathan at onegoodidea.com,
> "Jonathan Hogg" <jonathan at onegoodidea.com> wrote:
> 
> > Is this some weird mismatch in expat module version?
> 
> Hate following up to myself, but try this:
> 
> >>> import pyexpat
> >>> pyexpat.__version__
>  '2.67'
> >>> pyexpat.ParserCreate( intern={} )
>  <pyexpat.xmlparser object at 0x410cf0>
> >>> 
> 
> and tell us what happens.
> 
> Jonathan



More information about the Python-list mailing list