[pypy-svn] r13100 - pypy/dist/pypy/translator

arigo at codespeak.net arigo at codespeak.net
Mon Jun 6 14:27:07 CEST 2005


Author: arigo
Date: Mon Jun  6 14:27:05 2005
New Revision: 13100

Modified:
   pypy/dist/pypy/translator/transform.py
Log:
Forgot to check this in.


Modified: pypy/dist/pypy/translator/transform.py
==============================================================================
--- pypy/dist/pypy/translator/transform.py	(original)
+++ pypy/dist/pypy/translator/transform.py	Mon Jun  6 14:27:05 2005
@@ -317,6 +317,8 @@
     s_value = annmodel.SomeInstance(self.bookkeeper.getclassdef(Exception))
     self.setbinding(etype, s_type)
     self.setbinding(evalue, s_value)
+    # make sure the bookkeeper knows about AssertionError
+    self.bookkeeper.getclassdef(AssertionError)
 
 
 def transform_graph(ann):



More information about the Pypy-commit mailing list