[pypy-svn] r7624 - pypy/trunk/src/pypy/translator
hpk at codespeak.net
hpk at codespeak.net
Tue Nov 23 16:45:44 CET 2004
Author: hpk
Date: Tue Nov 23 16:45:44 2004
New Revision: 7624
Modified:
pypy/trunk/src/pypy/translator/annrpython.py
Log:
continue even if blocks are blocked (but warn as if
anyone would notice any warnings anyway)
Modified: pypy/trunk/src/pypy/translator/annrpython.py
==============================================================================
--- pypy/trunk/src/pypy/translator/annrpython.py (original)
+++ pypy/trunk/src/pypy/translator/annrpython.py Tue Nov 23 16:45:44 2004
@@ -130,8 +130,12 @@
traceback.print_exception(*self.why_not_annotated[block])
print '-+' * 30
print
- raise AnnotatorError('%d blocks are still blocked' %
+ print "++-" * 20
+ print ('%d blocks are still blocked' %
self.annotated.values().count(False))
+ print "continuing anyway ...."
+ print "++-" * 20
+
def binding(self, arg, in_link=None):
"Gives the SomeValue corresponding to the given Variable or Constant."
More information about the Pypy-commit
mailing list