Florent Xicluna <florent.xicl...@gmail.com> added the comment: This patch proposes an implementation of the feature.
>>> from xml.etree import ElementTree as ET >>> ET.tostring(ET.Element('{http://localhost/house}iq'), encoding="unicode", >>> namespaces={'http://localhost/house': 'home'}) '<home:iq xmlns:home="http://localhost/house" />' ---------- keywords: +patch stage: -> patch review Added file: http://bugs.python.org/file23655/issue13378_non_global_namespaces.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13378> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com