Message341043
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. |
|
Date |
User |
Action |
Args |
2019-04-29 05:31:03 | scoder | set | recipients:
+ scoder, eli.bendersky, py.user, serhiy.storchaka |
2019-04-29 05:31:03 | scoder | set | messageid: <1556515863.33.0.994781472535.issue28238@roundup.psfhosted.org> |
2019-04-29 05:31:03 | scoder | link | issue28238 messages |
2019-04-29 05:31:03 | scoder | create | |
|