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

2011-11-09 Thread Nekmo
Nekmo added the comment: In my case, I have several clients, and they define the namespaces. I am interested in return the same namespace that they gave me, for example, the client "A" gives me this: http://localhost/house"; /> To name the namespace, I set it at

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

2011-11-09 Thread Nekmo
New submission from Nekmo : 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