metaclasses and Exceptions

Aahz aahz at
Fri Jul 30 19:07:32 CEST 2004

In article <fc92b425.0407282343.750721e at>,
Mark Nottingham <mnotting at> wrote:
>From previous discussion [1] it seems that it's not possible to raise
>new-style objects. Does this effectively mean that it's impossible to
>use anything with a metaclass as an exception? i.e., am I missing some
>nifty trick that would allow me to do this in the meantime?

Why do you want to do this?

>If not, does anyone anticipate this changing anytime soon?

Python 3.0
Aahz (aahz at           <*>

"To me vi is Zen.  To use vi is to practice zen.  Every command is a
koan.  Profound to the user, unintelligible to the uninitiated.  You
discover truth everytime you use it."  --reddy at

More information about the Python-list mailing list