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

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

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

2011-11-09 Thread Nekmo
Nekmo nin...@gmail.com 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: house:iq xmlns:house=http://localhost/house; / To name the namespace, I set