metaclasses and Exceptions
Raymond Hettinger
python at rcn.com
Sat Jul 31 14:43:46 EDT 2004
Michael Hudson <mwh at python.net> wrote > One of the areas where PyPy is
different from CPython is that there
> are no old-style classes or instances, so exceptions are necessarily
> new-style. This has caused no real problems on any Python program
> we've tried it on yet...
How does PyPy distinguish between instance and class arguments to
raise?
Given: raise X
Does it pass X or X()?
Raymond Hettinger
More information about the Python-list
mailing list