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 MLModel
Recipients MLModel, georg.brandl
Date 2009-07-15.02:02:17
SpamBayes Score 1.353334e-06
Marked as misclassified No
Message-id <1247623340.07.0.957339027178.issue6489@psf.upfronthosting.co.za>
In-reply-to
Content
Documentation of ElementTree.Element.getiterator implies element will
always be included, but it is only included if it matches. (It says
"creates a tree iterator with the current element as the root" and also
says, ambiguously, "iterates over this element and all the elements
below it that match the given tag".)

I also feel that it is unclear to leave the term "match" undescribed.
Especially with '*' explicitly mentioned as a possibility, it looks like
one could specify, say, 'Thing*' and get all elements whose tag names
begin with 'Thing', which does not appear to be the case. Also, using
the term "match" is confusing if one understands the term to mean match
an XPath, as (implicitly) used elsewhere in the document, unless match
also means an XPath here too, which I don't think it does. I think
"match" should be reserved for XPath matching in this documentation, and
"equals" for when that is the actual test performed, such as, I think,
in getiterator.
History
Date User Action Args
2009-07-15 02:02:20MLModelsetrecipients: + MLModel, georg.brandl
2009-07-15 02:02:20MLModelsetmessageid: <1247623340.07.0.957339027178.issue6489@psf.upfronthosting.co.za>
2009-07-15 02:02:18MLModellinkissue6489 messages
2009-07-15 02:02:17MLModelcreate