[pypy-svn] r74322 - pypy/trunk/pypy/interpreter

afa at codespeak.net afa at codespeak.net
Sun May 2 15:53:59 CEST 2010


Author: afa
Date: Sun May  2 15:53:57 2010
New Revision: 74322

Modified:
   pypy/trunk/pypy/interpreter/pycompiler.py
Log:
Typo, fix tests in pypy.module._ast


Modified: pypy/trunk/pypy/interpreter/pycompiler.py
==============================================================================
--- pypy/trunk/pypy/interpreter/pycompiler.py	(original)
+++ pypy/trunk/pypy/interpreter/pycompiler.py	Sun May  2 15:53:57 2010
@@ -107,8 +107,8 @@
         self.compiler_flags = self.future_flags.allowed_flags
 
     def compile_ast(self, node, filename, mode, flags):
-        future_features = misc.parse_future(node)
-        info = pyparse.CompileInfo(filename, mode, flags, future_flags)
+        future_pos = misc.parse_future(node)
+        info = pyparse.CompileInfo(filename, mode, flags, future_pos)
         return self._compile_ast(node, info)
 
     def _compile_ast(self, node, info):



More information about the Pypy-commit mailing list