[issue7990] xml.etree.cElementTree lacks full dir() on Element

Santoso Wijaya report at bugs.python.org
Tue Mar 8 05:56:30 CET 2011


Santoso Wijaya <santoso.wijaya at gmail.com> added the comment:

Attached a patch with test for this:

Following the suggestion, I put "tag", "text", "tail", and "attrib" to be accessible via tp_getset for _etree.Element type.

----------
keywords: +patch
nosy: +santa4nt
Added file: http://bugs.python.org/file21041/dir_elem_c.patch

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


More information about the Python-bugs-list mailing list