[EMAIL PROTECTED] wrote:
>
> It's not clear how a grep of the site-packages directory revealed the
> most likely location of the ExpatError class is xml.parsers.expat.

Here's what I did:

grep -e ExpatError -r /usr/lib/python2.4/site-packages/

What is interesting is that most of the "hits" belonged to packages
which you may not have on your system: pyxdg and smartpm, for example,
which mention the ExpatError class. I did get the following message,
though:

Binary file
/usr/lib/python2.4/site-packages/_xmlplus/parsers/pyexpat.so matches

> ...it located the file Mr. Boddie mentioned...\lib\xml\parsers\expat.py.  
> That file has
> only a few lines of code...it appears to import all the objects from what I'm 
> guessing
> is the pyexpat extension module.  I'm guessing that ExpatError is
> embedded within that extension module...is that a correct guess?

I believe so.

Paul

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to