On Wed, Oct 5, 2022 at 11:58 PM Thomas Passin <[email protected]> wrote:

> I wondered recently how practical it would be to do exception handling
> with decorators instead of try...except blocks.


An interesting idea. However, the granularity of the try/except blocks is
the entire decorated function, which is often not what is desired.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/CAMF8tS3k34_4kyLJ4YGLsF10QEZKozSork13wDN0yiSbkx9SUw%40mail.gmail.com.

Reply via email to