Switch from cElementTree to ElementTree.
authorVinson Lee <vlee@freedesktop.org>
Fri, 5 Jun 2020 07:46:10 +0000 (00:46 -0700)
committerVinson Lee <vlee@freedesktop.org>
Sat, 6 Jun 2020 06:42:54 +0000 (23:42 -0700)
commitfaa339e666b4d0c4f88f2588cd84176e2b19ec0f
treeeb3ebfc24f987f5ea040594d401d0c8db9e11143
parenta61532e4dbdf4fbbf5822daeb5907efaf584a375
Switch from cElementTree to ElementTree.

The xml.etree.cElementTree module will be removed in Python 3.9. Since
Python 3.3 the xml.etree.cElementTree module has been deprecated, the
xml.etree.ElementTree module uses a fast implementation whenever
available.

Builds using Python 2.7 can still work but with the slower
implementation.

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Acked-by: Eric Engestrom <eric@engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5349>
src/amd/vulkan/radv_entrypoints_gen.py
src/freedreno/vulkan/tu_entrypoints_gen.py
src/intel/genxml/gen_sort_tags.py
src/intel/genxml/gen_zipped_file.py
src/intel/perf/gen_perf.py
src/intel/vulkan/anv_entrypoints_gen.py
src/mapi/new/genCommon.py
src/mapi/new/gen_gldispatch_mapi.py
src/vulkan/util/gen_enum_to_str.py
src/vulkan/util/vk_extensions.py
src/vulkan/util/vk_extensions_gen.py