<html><head></head><body>Has anyone done that?????<br>
<br>
I mean, I like Python without `unless`, but I've never seen it used to mean that. Usually, `until` is used.<br><br><div class="gmail_quote">On May 17, 2015 3:31:29 PM CDT, Douglas La Rocca <larocca@abiresearch.com> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">it could also be confused as a synonym for<br /><br /> while not condition:<br /> ...<br /><br /><br /><br /><br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> On May 17, 2015, at 4:28 PM, Mark Lawrence <breamoreboy@yahoo.co.uk> wrote:<br /> <br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;"> On 17/05/2015 19:07, Charles Hixson wrote:<br /> I'm envisioning "unless" as a synonym for "if not(...):" currently I use<br /> <br /> if .... :<br /> pass<br /> else:<br /> ...<br /> <br /> which works.<br /> <br /> N.B.: This isn't extremely important as there are already two ways to<br /> accomplish the same purpose, but it would be useful, seems easy to<br /> implement, and is already used by many other languages. The advantage<br /> is that when the condition is long it simplifies understanding.<br
/></blockquote> <br /> IMHO if a statement is only "occasionally useful" is should not be in the Python language.<br /> <br /> -- <br /> My fellow Pythonistas, ask not what our language can do for you, ask<br /> what you can do for our language.<br /> <br /> Mark Lawrence<br /> <br /><hr /><br /> Python-ideas mailing list<br /> Python-ideas@python.org<br /> <a href="https://mail.python.org/mailman/listinfo/python-ideas">https://mail.python.org/mailman/listinfo/python-ideas</a><br /> Code of Conduct: <a href="http://python.org/psf/codeofconduct">http://python.org/psf/codeofconduct</a>/<br /></blockquote><hr /><br />Python-ideas mailing list<br />Python-ideas@python.org<br /><a href="https://mail.python.org/mailman/listinfo/python-ideas">https://mail.python.org/mailman/listinfo/python-ideas</a><br />Code of Conduct: <a href="http://python.org/psf/codeofconduct">http://python.org/psf/codeofconduct</a>/<br /></pre></blockquote></div><br>
-- <br>
Sent from my Android device with K-9 Mail. Please excuse my brevity.</body></html>