Florent,
Florent Xicluna <florent.xicluna@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@bugs.python.org>
<http://bugs.python.org/issue7214>
_______________________________________