Florent,

Does keeping the current behavior mean no change?  This issue, more fundamental than this discrepancy, is what is the purpose of the argument to end in the first place?  Why have a required argument that is usually ignored and when not ignored it used only to verify that one actually knows the current tag they are ending (ie the argument doesn't actually seem to DO anything)?

-brian

On Sun, Aug 8, 2010 at 4:42 PM, Florent Xicluna <report@bugs.python.org> wrote:

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>
_______________________________________