[pypy-svn] r23186 - pypy/dist/pypy/rpython
arigo at codespeak.net
arigo at codespeak.net
Thu Feb 9 21:36:28 CET 2006
Author: arigo
Date: Thu Feb 9 21:36:26 2006
New Revision: 23186
Modified:
pypy/dist/pypy/rpython/llinterp.py
Log:
(pedronis, arigo)
don't explode with the rgenop PseudoTyper (no annotator there)
Modified: pypy/dist/pypy/rpython/llinterp.py
==============================================================================
--- pypy/dist/pypy/rpython/llinterp.py (original)
+++ pypy/dist/pypy/rpython/llinterp.py Thu Feb 9 21:36:26 2006
@@ -58,7 +58,7 @@
continue
try:
print self.typer.annotator.annotated[frame.curr_block].__module__
- except KeyError:
+ except (KeyError, AttributeError):
# if the graph is from the GC it was not produced by the same
# translator :-(
print "<unknown module>"
More information about the Pypy-commit
mailing list