Brian <br...@merrells.org> added the comment:
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 <rep...@bugs.python.org>wrote:
>
> Florent Xicluna <florent.xicl...@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 <rep...@bugs.python.org>
> <http://bugs.python.org/issue7214>
> _______________________________________
>
----------
Added file: http://bugs.python.org/file18445/unnamed
_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7214>
_______________________________________
Florent,<div><br></div><div>Does keeping the current behavior mean no change?
 This issue, more fundamental than this discrepancy, is what is the purpose of
the argument to <b>end</b>Â 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)?</div>
<div><br></div><div>-brian</div><div><br></div><div><div class="gmail_quote">On
Sun, Aug 8, 2010 at 4:42 PM, Florent Xicluna <span dir="ltr"><<a
href="mailto:rep...@bugs.python.org">rep...@bugs.python.org</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc
solid;padding-left:1ex;"><br>
Florent Xicluna <<a
href="mailto:florent.xicl...@gmail.com">florent.xicl...@gmail.com</a>> added
the comment:<br>
<br>
The verification of the matching between start and end tag is performed in a
debug "assert" statement in the Python version.<br>
This check is ignored if the module is compiled with -O.<br>
It is ignored in the C version, too.<br>
<br>
I would suggest to keep the current behavior for both versions.<br>
Fredrik and Stefan are CC'd if they want to comment.<br>
<br>
----------<br>
nosy: +effbot, scoder<br>
versions: +Python 3.2 -Python 2.6<br>
<div><div></div><div class="h5"><br>
_______________________________________<br>
Python tracker <<a
href="mailto:rep...@bugs.python.org">rep...@bugs.python.org</a>><br>
<<a href="http://bugs.python.org/issue7214"
target="_blank">http://bugs.python.org/issue7214</a>><br>
_______________________________________<br>
</div></div></blockquote></div><br></div>
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com