[Python-ideas] syntax to continue into the next subsequent except block

Nick Coghlan ncoghlan at gmail.com
Tue Sep 18 08:55:16 CEST 2012


On Tue, Sep 18, 2012 at 11:08 AM, Stephen J. Turnbull
<stephen at xemacs.org> wrote:
> I don't know how to do it Pythonically, but it would be nice if there
> were some way to "subclass Exceptions on the fly".

Most likely, this will mean fixing the bug that means the ABC
machinery is currently being ignored by the exception machinery. Then
you can do whatever you want to reshape exception hierarchies.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia



More information about the Python-ideas mailing list