[pypy-svn] r15533 - pypy/dist/pypy/translator
tismer at codespeak.net
tismer at codespeak.net
Wed Aug 3 06:27:23 CEST 2005
Author: tismer
Date: Wed Aug 3 06:27:22 2005
New Revision: 15533
Modified:
pypy/dist/pypy/translator/annrpython.py
Log:
added a debugging line with comment. When enabled,
it breaks annotation on the first problem.
I think we should have this as a translation option.
Modified: pypy/dist/pypy/translator/annrpython.py
==============================================================================
--- pypy/dist/pypy/translator/annrpython.py (original)
+++ pypy/dist/pypy/translator/annrpython.py Wed Aug 3 06:27:22 2005
@@ -239,7 +239,8 @@
self.whereami((self.return_bindings[arg],None, None)))
self.binding_caused_by[arg] = called_from
-
+ # XXX make this line available as a debugging option
+ ##assert not (s_value.__class__ == annmodel.SomeObject and s_value.knowntype == object) ## debug
#___ interface for annotator.bookkeeper _______
More information about the Pypy-commit
mailing list