[pypy-dev] Magic problems
tismer at stackless.com
Tue May 10 04:32:19 CEST 2005
during my wrestling with the ovfcheck "macro", I came along
a couple of problems, which are unrelated but nevertheless
I discovered, that when testall.py ../*dunno*/test_geninterp.py
is run, the generated code does not expose any exception
This is probably due to the fact that some magic module
makes all exceptions into AssertionError subclasses.
But these are removed by simplify.py !
I was unable to follow the magic logic of this, but the pygame
view was at least able to show me that we really have a problem
You can try this by writing a small function call, which usually
should expose at least one simple exception outlet.
It won't, but becomes a straight sequence of simple blocks.
Nice, anyway, but unfortunately Python world is not that nice :-)
This problem seems to be local to geninterp.py, which since a
while tries to completely believe into __builtin__ objects
as god given. Maybe I should modify this and look into
tjhe exceptions module more closely, or is this solvable
from the testing environment?
ciao - chris
Christian Tismer :^) <mailto:tismer at stackless.com>
tismerysoft GmbH : Have a break! Take a ride on Python's
Johannes-Niemeyer-Weg 9A : *Starship* http://starship.python.net/
14109 Berlin : PGP key -> http://wwwkeys.pgp.net/
work +49 30 802 86 56 mobile +49 173 24 18 776 fax +49 30 80 90 57 05
PGP 0x57F3BF04 9064 F4E1 D754 C2FF 1619 305B C09C 5A3B 57F3 BF04
whom do you want to sponsor today? http://www.stackless.com/
More information about the Pypy-dev