This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author scoder
Recipients eli.bendersky, py.user, scoder, serhiy.storchaka
Date 2019-04-29.05:31:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1556515863.33.0.994781472535.issue28238@roundup.psfhosted.org>
In-reply-to
Content
BTW, I found that lxml and ET differ in their behaviour when searching for '*'. ET takes it as meaning "any tree node", whereas lxml interprets it as "any Element". Since ET's parser does not create comments and processing instructions by default, this does not make a difference in most cases, but when the tree contains comments or PIs, then they will be found by '*' in ET but not in lxml.

At least for "{*}*", they now both return only Elements. Changing either behaviour for '*' is probably not a good idea at this point.
History
Date User Action Args
2019-04-29 05:31:03scodersetrecipients: + scoder, eli.bendersky, py.user, serhiy.storchaka
2019-04-29 05:31:03scodersetmessageid: <1556515863.33.0.994781472535.issue28238@roundup.psfhosted.org>
2019-04-29 05:31:03scoderlinkissue28238 messages
2019-04-29 05:31:03scodercreate