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 robpats
Recipients christian.heimes, robpats, scoder
Date 2021-01-15.01:53:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1610675629.83.0.626188616763.issue42893@roundup.psfhosted.org>
In-reply-to
Content
Thanks for the pointer. I didn't notice this paragraph.
xml.etree.ElementTree.Element.find currently returns None if XPath expression is invalid or unsupported. I think it should also return None if position predicates are not preceded by a tag name. It would be even better to emit warnings or raise exceptions to indicate any errors.
History
Date User Action Args
2021-01-15 01:53:49robpatssetrecipients: + robpats, scoder, christian.heimes
2021-01-15 01:53:49robpatssetmessageid: <1610675629.83.0.626188616763.issue42893@roundup.psfhosted.org>
2021-01-15 01:53:49robpatslinkissue42893 messages
2021-01-15 01:53:49robpatscreate