[issue12321] documentation of ElementTree.find

2012-10-14 Thread Eli Bendersky
Eli Bendersky added the comment: I think this may be intentional. Absolute searches on a ElementTree are discouraged with a warning: def find(self, path, namespaces=None): # assert self._root is not None if path[:1] == "/": path = "." + path warnings.

[issue12321] documentation of ElementTree.find

2012-10-14 Thread Eli Bendersky
Changes by Eli Bendersky : -- versions: +Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue12321] documentation of ElementTree.find

2012-10-14 Thread Eli Bendersky
Changes by Eli Bendersky : Removed file: http://bugs.python.org/file22406/unnamed ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue12321] documentation of ElementTree.find

2012-09-15 Thread Ezio Melotti
Changes by Ezio Melotti : -- keywords: +easy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue12321] documentation of ElementTree.find

2012-07-21 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +eli.bendersky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue12321] documentation of ElementTree.find

2011-06-19 Thread patrick vrijlandt
patrick vrijlandt added the comment: [...] Same as getroot().find(match). [...] -> [...] For a relative path, this is equivalent to getroot().find(match). Additionally, this form accepts an absolute path. [...] This is easy, but might not be a very good solution. Random thoughts/Points to cons

[issue12321] documentation of ElementTree.find

2011-06-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: Are you requesting that the doc be changed or the code? >From the title, I would infer the doc (which is much easier ;-). If so, can you suggest an actual revised text? -- nosy: +terry.reedy stage: -> needs patch versions: +Python 3.3

[issue12321] documentation of ElementTree.find

2011-06-13 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +flox ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue12321] documentation of ElementTree.find

2011-06-13 Thread patrick vrijlandt
New submission from patrick vrijlandt : >From the python docs for version 3.2: 19.12.3. ElementTree Objects find(match) [...] Same as getroot().find(match). [...] This is not true: tree.find accepts an absolute path (like "/*") , whereas element.find doesn't. Also applies to findall and findte