Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

Thank you Miro for information. It looks as awesome work!

The simplest solution would be to restore xml.etree.cElementTree and keep it 
forever. It will not harm anyone, it is just outdated import here and there.

We could also write an import hook which would analyze the code of the importer 
and warn only if xml.etree.cElementTree is imported without a common idiom. But 
it looks slightly overcomplicated to me.

And we can just let the users to fix they code for 3.9.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue36543>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to