On Sun, Sep 21, 2008 at 3:13 PM, Arnaud Delobelle firstname.lastname@example.org wrote:
There's a missing 'return' in my last post!
On 21 Sep 2008, at 22:10, Arnaud Delobelle wrote:
def foo(...): while True: if error_condition1: break # Other error conditions, processing, etc # only executes if everything is OK
# Error condition
Short answer: there are many variants, not all of them can be translated into the above.