Which is preferred in a raise: X or X()? I've seen both. In my specific case I'm dumping out of a deep loop:
try: for ... for ... for ... if match: raise StopInteration() else ... except StopInteration: print "found it" -- http://mail.python.org/mailman/listinfo/python-list