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 franck
Recipients franck
Date 2013-01-03.12:36:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1357216602.29.0.17641407766.issue16849@psf.upfronthosting.co.za>
In-reply-to
Content
Documentation:
 - http://docs.python.org/3.3/library/xml.etree.elementtree.html#xml.etree.ElementTree.Element.get
 - http://docs.python.org/3.3/library/xml.etree.elementtree.html#xml.etree.ElementTree.Element.iter

These two functions are documented with keyword arguments. Python implementation works correctly, but as of 3.3, _etreeelement module in C is hot-patching this module to enhance speed. C implementation only expects normal arguments for get and iter. This is what this patch fixes.

First patch so:
 - I am not sure about the "key" string in kwlist array, I followed code above and it doesn't work without it, so I guess it's to for the normal arg.
 - I am not sure about how to test iter with this. tag argument is never used.
 - Included a test that shows the problem.

Have a nice day,
History
Date User Action Args
2013-01-03 12:36:42francksetrecipients: + franck
2013-01-03 12:36:42francksetmessageid: <1357216602.29.0.17641407766.issue16849@psf.upfronthosting.co.za>
2013-01-03 12:36:42francklinkissue16849 messages
2013-01-03 12:36:41franckcreate