[pypy-commit] pypy py3k: merge heads
amauryfa
noreply at buildbot.pypy.org
Mon Nov 7 22:35:02 CET 2011
Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch: py3k
Changeset: r48888:9b869427f59a
Date: 2011-11-07 22:07 +0100
http://bitbucket.org/pypy/pypy/changeset/9b869427f59a/
Log: merge heads
diff --git a/pypy/translator/goal/app_main.py b/pypy/translator/goal/app_main.py
--- a/pypy/translator/goal/app_main.py
+++ b/pypy/translator/goal/app_main.py
@@ -120,7 +120,7 @@
except AttributeError:
print('no translation information found', file=sys.stderr)
else:
- optitems = options.items()
+ optitems = list(options.items())
optitems.sort()
for name, value in optitems:
print(' %51s: %s' % (name, value))
@@ -138,7 +138,7 @@
def _print_jit_help():
import pypyjit
- items = pypyjit.defaults.items()
+ items = list(pypyjit.defaults.items())
items.sort()
for key, value in items:
print(' --jit %s=N %slow-level JIT parameter (default %s)' % (
@@ -304,7 +304,7 @@
newline=newline,
line_buffering=line_buffering)
return stream
-
+
def set_io_encoding(io_encoding):
try:
import _file
@@ -510,7 +510,7 @@
unbuffered,
ignore_environment,
**ignored):
- # with PyPy in top of CPython we can only have around 100
+ # with PyPy in top of CPython we can only have around 100
# but we need more in the translated PyPy for the compiler package
if '__pypy__' not in sys.builtin_module_names:
sys.setrecursionlimit(5000)
More information about the pypy-commit
mailing list