[issue14818] C implementation of ElementTree causes regressions

Ezio Melotti report at bugs.python.org
Thu May 17 18:19:09 CEST 2012


Ezio Melotti <ezio.melotti at gmail.com> added the comment:

The attached patch adds support for keyword args to find, findtext, findall, and iterfind.  iter and itertext don't seem to accept a namespace argument.  The patch includes minimal tests.

The name I used for the kwargs are the same of the Python version.  The documentation uses different names, and extra args (like "namespaces") are not even documented.

I didn't have time yet to double-check if other functions needs to be updated and to add better tests that actually check for specific namespaces.

----------
keywords: +patch
stage: needs patch -> patch review
Added file: http://bugs.python.org/file25626/issue14818.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14818>
_______________________________________


More information about the Python-bugs-list mailing list