Author: Philip Jenvey <[email protected]>
Branch:
Changeset: r62098:29351d829411
Date: 2013-03-05 13:06 -0800
http://bitbucket.org/pypy/pypy/changeset/29351d829411/
Log: cleanup
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
@@ -216,10 +216,7 @@
# app-level, very different from rpython.rlib.objectmodel.we_are_translated
return hasattr(sys, 'pypy_translation_info')
-if 'nt' in sys.builtin_module_names:
- IS_WINDOWS = True
-else:
- IS_WINDOWS = False
+IS_WINDOWS = 'nt' in sys.builtin_module_names
def setup_and_fix_paths(ignore_environment=False, **extra):
import os
@@ -473,7 +470,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)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit