Eli Bendersky <eli...@gmail.com> added the comment:

> What I had in mind is more like:
>  - ElementTree: defines the python code and if _elementtree is available 
> overrides part of it with the functions imported from it;

The problem with this is the bootstrap Python code executed by
_elementtree. That should not be executed when _elementtree (the C
parts) can't be imported. Keeping this code in ElementTree will
probably complicate matters since it will add import conditions.

----------

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

Reply via email to