[issue14078] Add 'sourceline' property to xml.etree Elements

Eli Bendersky report at bugs.python.org
Thu Mar 22 14:34:52 CET 2012


Eli Bendersky <eliben at gmail.com> added the comment:

Hi Leon,
Thanks for the patch.

I suggest to start by raising this to the python-ideas mailing list, to see if anyone has objections / different idea about doing this.

Next, keep in mind that starting with 3.3, the default ElementTree implementation comes from the C accelerator Modules/_elementtree.c, and compatibility between the Python and C implementations becomes important. Therefore, each such change has to be added to both implementations. Is your patch done in a common section, or just the Python implementation?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14078>
_______________________________________


More information about the Python-bugs-list mailing list