A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2004-August/047095.html below:

[Python-Dev] Re: Exceptional inheritance patterns

[Python-Dev] Re: Exceptional inheritance patterns [Python-Dev] Re: Exceptional inheritance patternsSkip Montanaro skip at pobox.com
Fri Aug 6 14:55:52 CEST 2004
    Michael> I would like an exception class that almost exceptions except
    Michael> KeyboardInterrupt, SystemExit and -- maybe -- RuntimeError and
    Michael> MemoryError inherited from.

    Michael> except ExceptionsButThoseNastyOnesIDontWantToCatch:
    Michael>     pass

    Michael> ? <wink>

I proposed a change to the exceptions hierarchy a few years ago that would
allow this.  It was obviously never implemented, but I no longer remember
why.

Skip
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4