[lxml] Re: lxml.objectify2: More fun, namespaces, pythonic

2022-03-08 Thread Dr. Volker Jaenisch
Dear LXML People! I learned that some members of the list were annoyed by my posts. My aim was never to disrespect any person nor their work for lxml. I you feel disrespected I am truely sorry for that. But I am still sure that lxml.objectify is not the perfect solution. lxml.objectify has i

[lxml] Re: Is there an ElementTree class lookup hook?

2022-03-08 Thread Stefan Behnel
Salut encore, Xavier Morel schrieb am 04.03.22 um 12:58: lxml provides support for custom Element classes (as well as element-ish e.g. Comment or PI) via the `ElementDefaultClassLookup` registry, and the ability to hook it into a parser. But that registry does not seem to have a slot for the

[lxml] Re: Compatibility issues between `lxml.etree.set_element_class_lookup`` and `lxml.html`

2022-03-08 Thread Stefan Behnel
Salut, Xavier Morel schrieb am 07.03.22 um 13:27: Sorry for the bother, but I've been looking at `lxml.etree.set_element_class_lookup`[0] as a way to add validation and features to lxml usage without having to ban "standard" lxml constructs (and to control usage by dependencies as well). I c