[Python-Dev] GeneratorExit inheriting from Exception

Matthew Fleming mattjfleming at googlemail.com
Sat Mar 18 16:39:28 CET 2006


>
> except Error:      # is what you normally should do



+1

This definatley makes more sense and is easier to understand just from
glancing at it.

Thanks,
Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-dev/attachments/20060318/8afe9bce/attachment.htm 


More information about the Python-Dev mailing list