Does Python support short-circuiting in boolean expressions?
Yes. Try the following in your python interpreter:
and
>>>False and 3/0 False >>>True and 3/0 ZeroDivisionError: integer division or modulo by zero
or
>>>True or 3/0 True >>>False or 3/0 ZeroDivisionError: integer division or modulo by zero