register_namespace was introduced in python 2.7 xml.etree