[pypy-svn] r16282 - pypy/dist/pypy/interpreter

ludal at codespeak.net ludal at codespeak.net
Tue Aug 23 16:58:33 CEST 2005


Author: ludal
Date: Tue Aug 23 16:58:32 2005
New Revision: 16282

Modified:
   pypy/dist/pypy/interpreter/pycompiler.py
Log:
 trying to translate PythonAstCompiler


Modified: pypy/dist/pypy/interpreter/pycompiler.py
==============================================================================
--- pypy/dist/pypy/interpreter/pycompiler.py	(original)
+++ pypy/dist/pypy/interpreter/pycompiler.py	Tue Aug 23 16:58:32 2005
@@ -325,7 +325,7 @@
         from pypy.interpreter.astcompiler.pycodegen import ExpressionCodeGenerator
         space = self.space
         try:
-            astcompiler.misc.set_filename(filename, ast_tree) ### TODO: doesn't work
+            astcompiler.misc.set_filename(filename, ast_tree)
             if mode == 'exec':
                 codegenerator = ModuleCodeGenerator(ast_tree)
             elif mode == 'single':
@@ -348,7 +348,7 @@
         # __________ end of XXX above
         from pypy.interpreter.pycode import PyCode
         return PyCode(space)._from_code(c)
-    compile_parse_result._annspecialcase_ = 'override:cpy_stablecompiler'
+    #compile_parse_result._annspecialcase_ = 'override:cpy_stablecompiler'
 
 
 



More information about the Pypy-commit mailing list