[Python-Dev] Re: [Python-checkins] CVS: python/dist/src/Lib getopt.py,1.7,1.8

Barry A. Warsaw bwarsaw@cnri.reston.va.us (Barry A. Warsaw)
Tue, 21 Dec 1999 18:27:31 -0500 (EST)


>>>>> "Guido" == Guido van Rossum <guido@cnri.reston.va.us> writes:

    BAW> Or require that exception classes be derived from
    BAW> exceptions.Exception :)

    Guido> That's hard to require.  But it could easily be a
    Guido> requirement checked by one of the hypothetical typecheckers
    Guido> that are being discussed in the types-sig.

Hmm, the raise could probably enforce this, but it might not be that
useful.

-Barry