Commits

Armin Rigo committed 1ea6297

Finally fix stackless translation, by using a workaround.

Comments (0)

Files changed (1)

pypy/module/_stackless/interp_coroutine.py

         self.w_tempval = space.w_None
         self.space = space
 
+        # XXX Workaround: for now we need to instantiate these classes
+        # explicitly for translation to work
+        W_CoroutineExit(space)
+        W_TaskletExit(space)
+
         # Exporting new exception to space
         self.w_CoroutineExit = space.gettypefor(W_CoroutineExit)
         space.setitem(