Changes by Eli Bendersky eli...@gmail.com:
Removed file: http://bugs.python.org/file22406/unnamed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12321
___
Changes by Eli Bendersky eli...@gmail.com:
--
versions: +Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12321
___
___
Python-bugs-list
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
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
keywords: +easy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12321
___
___
Python-bugs-list
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +eli.bendersky
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12321
___
___
patrick vrijlandt patrick.vrijla...@gmail.com 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.
Terry J. Reedy tjre...@udel.edu 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
New submission from patrick vrijlandt patrick.vrijla...@gmail.com:
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
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12321
___
___
Python-bugs-list mailing list