[pypy-svn] r75076 - in pypy/branch/fast-forward/pypy/interpreter: . pyparser
benjamin at codespeak.net
benjamin at codespeak.net
Thu Jun 3 21:09:28 CEST 2010
Author: benjamin
Date: Thu Jun 3 21:08:57 2010
New Revision: 75076
Modified:
pypy/branch/fast-forward/pypy/interpreter/pycompiler.py
pypy/branch/fast-forward/pypy/interpreter/pyparser/future.py
Log:
use 2.7 future flags
Modified: pypy/branch/fast-forward/pypy/interpreter/pycompiler.py
==============================================================================
--- pypy/branch/fast-forward/pypy/interpreter/pycompiler.py (original)
+++ pypy/branch/fast-forward/pypy/interpreter/pycompiler.py Thu Jun 3 21:08:57 2010
@@ -103,7 +103,7 @@
PyCodeCompiler.__init__(self, space)
self.parser = pyparse.PythonParser(space)
self.additional_rules = {}
- self.future_flags = future.futureFlags_2_5
+ self.future_flags = future.futureFlags_2_7
self.compiler_flags = self.future_flags.allowed_flags
def compile_ast(self, node, filename, mode, flags):
Modified: pypy/branch/fast-forward/pypy/interpreter/pyparser/future.py
==============================================================================
--- pypy/branch/fast-forward/pypy/interpreter/pyparser/future.py (original)
+++ pypy/branch/fast-forward/pypy/interpreter/pyparser/future.py Thu Jun 3 21:08:57 2010
@@ -318,3 +318,4 @@
futureFlags_2_4 = FutureFlags((2, 4, 4, 'final', 0))
futureFlags_2_5 = FutureFlags((2, 5, 0, 'final', 0))
+futureFlags_2_7 = FutureFlags((2, 7, 0, 'final', 0))
More information about the Pypy-commit
mailing list