[issue13988] Expose the C implementation of ElementTree by default when importing ElementTree
Eli Bendersky
report at bugs.python.org
Sat Feb 11 09:08:56 CET 2012
Eli Bendersky <eliben at gmail.com> added the comment:
The more I think about it, the more the bootstrap code in _elementtree.c annoys me. It's the only instance of calling PyRun_String in Modules/ !
It's hackish and causes ugly import problems. If the C code needs stdlib functionality like copy.deepcopy, it should use PyImport_ImportModule like everyone else and not through a PyRun_String hack.
Since we've already decided to do some refactoring, I suggest all trace of the bootstrap is removed from _elementtree.c
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13988>
_______________________________________
More information about the Python-bugs-list
mailing list