<div dir="ltr">Well that also makes sense.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 4, 2017 at 1:52 PM, Antoine Pitrou <span dir="ltr"><<a href="mailto:solipsis@pitrou.net" target="_blank">solipsis@pitrou.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Wed, 4 Oct 2017 14:06:48 -0400<br>
Barry Warsaw <<a href="mailto:barry@python.org">barry@python.org</a>> wrote:<br>
> Victor brings up a good question in his review of the PEP 553 implementation.<br>
><br>
> <a href="https://github.com/python/cpython/pull/3355" rel="noreferrer" target="_blank">https://github.com/python/<wbr>cpython/pull/3355</a><br>
> <a href="https://bugs.python.org/issue31353" rel="noreferrer" target="_blank">https://bugs.python.org/<wbr>issue31353</a><br>
><br>
> The question is whether $PYTHONBREAKPOINT should be ignored if -E is given?<br>
><br>
> I think it makes sense for $PYTHONBREAKPOINT to be sensitive to -E, but in thinking about it some more, it might make better sense for the semantics to be that when -E is given, we treat it like PYTHONBREAKPOINT=0, i.e. disable the breakpoint, rather than fallback to the `pdb.set_trace` default.<br>
<br>
</span>"""Special cases aren't special enough to break the rules."""<br>
<br>
People expect -E to disable envvar-driven overrides, so just treat it<br>
like that and don't try to second-guess the user.<br>
<br>
Regards<br>
<span class="HOEnZb"><font color="#888888"><br>
Antoine.<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
______________________________<wbr>_________________<br>
Python-Dev mailing list<br>
<a href="mailto:Python-Dev@python.org">Python-Dev@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-dev" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/listinfo/python-dev</a><br>
Unsubscribe: <a href="https://mail.python.org/mailman/options/python-dev/guido%40python.org" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/options/python-dev/<wbr>guido%40python.org</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">--Guido van Rossum (<a href="http://python.org/~guido" target="_blank">python.org/~guido</a>)</div>
</div>