heh, that's how I fixed it (with a dict). Note that I do not use copy.copy (or even copy.deepcopy) directly, it was used in some other function that was serializing an object with Element.attrib inside and I managed to narrow it down to copy.copy(Element.attrib)
heh, that's how I fixed it (with a dict). Note that I do not use copy.copy (or even copy.deepcopy) directly, it was used in some other function that was serializing an object with Element.attrib inside and I managed to narrow it down to copy.copy( Element. attrib)