Author: Armin Rigo <ar...@tunes.org> Branch: reverse-debugger Changeset: r94654:c2f8c612bd01 Date: 2018-05-23 17:19 +0200 http://bitbucket.org/pypy/pypy/changeset/c2f8c612bd01/
Log: fix for test_app_main.py 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 @@ -83,7 +83,10 @@ sys.excepthook(), catching SystemExit, printing a newline after sys.stdout if needed, etc. """ - from __pypy__ import revdb_stop + if '__pypy__' in sys.builtin_module_names: + from __pypy__ import revdb_stop + else: + revdb_stop = None try: # run it try: _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit