<div dir="auto">I guess maybe if you overload the operators to return broken objects, maybe then they would be different?<br><br><div data-smartmail="gmail_signature">--<br>Ryan (ライアン)<br>Yoko Shimomura > ryo (supercell/EGOIST) > Hiroyuki Sawano >> everyone else<br><a href="http://refi64.com">http://refi64.com</a></div></div><div class="gmail_extra"><br><div class="gmail_quote">On May 15, 2017 9:50 AM, "Serhiy Storchaka" <<a href="mailto:storchaka@gmail.com">storchaka@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 15.05.17 16:00, Steven D'Aprano wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
There's also cases where<br>
<br>
if x > y:<br>
pass<br>
else:<br>
code<br>
<br>
is *not necessarily* the same as<br>
<br>
if not (x > y):<br>
code<br>
</blockquote>
<br>
This is not true.<br>
<br>
if not cond:<br>
stmt1<br>
else:<br>
stmt2<br>
<br>
always is equivalent to<br>
<br>
if cond:<br>
stmt2<br>
else:<br>
stmt1<br>
<br>
<br>
______________________________<wbr>_________________<br>
Python-ideas mailing list<br>
<a href="mailto:Python-ideas@python.org" target="_blank">Python-ideas@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-ideas" rel="noreferrer" target="_blank">https://mail.python.org/mailma<wbr>n/listinfo/python-ideas</a><br>
Code of Conduct: <a href="http://python.org/psf/codeofconduct/" rel="noreferrer" target="_blank">http://python.org/psf/codeofco<wbr>nduct/</a><br>
</blockquote></div></div>