STINNER Victor added the comment: Oh... Modules/_elementtree.c uses a function defined in Modules/clinic/_elementtree.c. It hardcodes flags, whereas flags changed.
Maybe the alias should be created differently to avoid such issue in the future? Moreover, obviously, we lack unit tests on this getiterator() method. ---------- keywords: +patch Added file: http://bugs.python.org/file44881/etree.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28314> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com