[issue13378] Change the variable "nsmap" from global to instance (xml.etree.ElementTree)

Nekmo report at bugs.python.org
Wed Nov 9 23:17:51 CET 2011


New submission from Nekmo <nintux at gmail.com>:

Currently, the mapping of namespaces is global and can cause failures if multiple instances are used or in multithreading. The variable is in xml.etree.ElementTree._namespace_map. I ask it to be switched to xml.etree._Element instance.

----------
components: XML
messages: 147378
nosy: Nekmo
priority: normal
severity: normal
status: open
title: Change the variable "nsmap" from global to instance (xml.etree.ElementTree)
type: feature request
versions: Python 3.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13378>
_______________________________________


More information about the Python-bugs-list mailing list