metaclasses and Exceptions
aahz at pythoncraft.com
Fri Jul 30 19:07:32 CEST 2004
In article <fc92b425.0407282343.750721e at posting.google.com>,
Mark Nottingham <mnotting at gmail.com> wrote:
>From previous discussion  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?
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
"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 lion.austin.ibm.com
More information about the Python-list