Serhiy Storchaka added the comment: Following patch speeds up ElementTree parsing (the result of the etree parse benchmark is improved by 10%). Actually it restores 2.7 code and avoids creating an empty dict for attributes if not needed.
---------- stage: -> patch review Added file: http://bugs.python.org/file41276/etree_start_handler_no_attrib.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25638> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com