On Tue, Dec 2, 2014 at 11:18 AM, Roy Smith <r...@panix.com> wrote:
> Wouldn’t it be neat to write:
>
>    foo == 42 or else
>
> and have that be an synonym for:
>
>     assert foo == 42
>
> :-)

Never going to happen, but I like it!  Perhaps raise IntimidationError
instead of AssertionError when it fails?

-- 
Zach
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to