Author: Armin Rigo <[email protected]>
Branch:
Changeset: r84829:afadd6ee462e
Date: 2016-05-30 13:07 +0200
http://bitbucket.org/pypy/pypy/changeset/afadd6ee462e/
Log: oops
diff --git a/pypy/interpreter/app_main.py b/pypy/interpreter/app_main.py
--- a/pypy/interpreter/app_main.py
+++ b/pypy/interpreter/app_main.py
@@ -739,7 +739,8 @@
readenv and os.getenv('PYPY_IRC_TOPIC'))
flags = 0
for fname in __future__.all_feature_names:
- if future_flags[0] & getattr(__future__, fname).compiler_flag:
+ feature = getattr(__future__, fname)
+ if future_flags[0] & feature.compiler_flag:
flags |= feature.compiler_flag
kwds = {}
if flags:
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit