[pypy-svn] pypy jitypes2: hg merge default

antocuni commits-noreply at bitbucket.org
Tue Jan 18 16:35:13 CET 2011


Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: jitypes2
Changeset: r40868:a0e39a4957f8
Date: 2011-01-18 11:09 +0100
http://bitbucket.org/pypy/pypy/changeset/a0e39a4957f8/

Log:	hg merge default

diff --git a/pypy/config/translationoption.py b/pypy/config/translationoption.py
--- a/pypy/config/translationoption.py
+++ b/pypy/config/translationoption.py
@@ -387,8 +387,9 @@
         else:
             raise ValueError(word)
 
-    hasbackendopts = 'nobackendopt' not in words
-    config.translation.suggest(list_comprehension_operations=hasbackendopts)
+    # list_comprehension_operations is needed for translation, because
+    # make_sure_not_resized often relies on it, so we always enable them
+    config.translation.suggest(list_comprehension_operations=True)
 
 # ----------------------------------------------------------------
 


More information about the Pypy-commit mailing list