[pypy-commit] pypy py3.5: Not exactly sure why, but in a translated pypy we also see this

arigo pypy.commits at gmail.com
Tue Jan 3 15:50:24 EST 2017


Author: Armin Rigo <arigo at tunes.org>
Branch: py3.5
Changeset: r89348:88b6bdd9f8d3
Date: 2017-01-03 20:42 +0100
http://bitbucket.org/pypy/pypy/changeset/88b6bdd9f8d3/

Log:	Not exactly sure why, but in a translated pypy we also see this
	alternative co_filename

diff --git a/pypy/module/_frozen_importlib/interp_import.py b/pypy/module/_frozen_importlib/interp_import.py
--- a/pypy/module/_frozen_importlib/interp_import.py
+++ b/pypy/module/_frozen_importlib/interp_import.py
@@ -17,7 +17,8 @@
     except OperationError as e:
         e.remove_traceback_module_frames(
               '<frozen importlib._bootstrap>',
-              '<frozen importlib._bootstrap_external>')
+              '<frozen importlib._bootstrap_external>',
+              '<builtin>/frozen importlib._bootstrap_external')
         raise
 import_with_frames_removed = interp2app(import_with_frames_removed,
                                         app_name='__import__')


More information about the pypy-commit mailing list