pkgsrc-Users archive

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

Re: py-cElementTree ?



>>> 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

But we are not building the C-version in lang/pythonNN, so without textproc/py-cElementTree the user ends up with the slower implementation.

Adam


Home | Main Index | Thread Index | Old Index