This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mitya57
Recipients mitya57
Date 2016-09-29.19:44:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The documentation says that getiterator() still accepts a tag argument, but it does not:

>>> from xml.etree.ElementTree import Element
>>> el = Element('foo')
>>> el.getiterator('bar')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
SystemError: ../Python/getargs.c:1508: bad argument to internal function
>>> el.getiterator(tag='bar')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: iter() takes at most 1 argument (140172072006928 given)

This is with Python 3.6.0 beta 1 on Debian GNU/Linux amd64.
Date User Action Args
2016-09-29 19:44:06mitya57setrecipients: + mitya57
2016-09-29 19:44:06mitya57setmessageid: <>
2016-09-29 19:44:06mitya57linkissue28314 messages
2016-09-29 19:44:06mitya57create