[issue7214] TreeBuilder.end(tag) differs between cElementTree and ElementTree

Florent Xicluna report at bugs.python.org
Sun Aug 8 22:42:55 CEST 2010


Florent Xicluna <florent.xicluna at gmail.com> added the comment:

The verification of the matching between start and end tag is performed in a debug "assert" statement in the Python version.
This check is ignored if the module is compiled with -O.
It is ignored in the C version, too.

I would suggest to keep the current behavior for both versions.
Fredrik and Stefan are CC'd if they want to comment.

----------
nosy: +effbot, scoder
versions: +Python 3.2 -Python 2.6

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


More information about the Python-bugs-list mailing list