pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: py-cElementTree ?



On Mon, Jun 03, 2019 at 10:01:52PM +0200, Joerg Sonnenberger wrote:
> On Mon, Jun 03, 2019 at 05:08:50PM +0100, Patrick Welche wrote:
> > I am puzzled as gobject-introspection imports xml.etree.cElementTree.
> > The only reference I can find to ElementTree is in its tests. Nowhere
> > do I see a reference to expat.
> 
> The XML parser is often set as via options, not directly.

Thanks and I just found this:

$ cat /usr/pkg/lib/python3.7/xml/etree/cElementTree.py 
# Deprecated alias for xml.etree.ElementTree

from xml.etree.ElementTree import *


Cheers,

Patrick


Home | Main Index | Thread Index | Old Index