Ezio Melotti <ezio.melo...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue14818> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com