metaclasses and Exceptions

Aahz aahz at pythoncraft.com
Fri Jul 30 13:07:32 EDT 2004


In article <fc92b425.0407282343.750721e at posting.google.com>,
Mark Nottingham <mnotting at gmail.com> 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 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 mailing list