[pypy-commit] pypy default: Translation fix (uh, unsure what is going on here)
arigo
pypy.commits at gmail.com
Sun Sep 24 02:58:31 EDT 2017
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r92448:899e5245de1e
Date: 2017-09-24 08:58 +0200
http://bitbucket.org/pypy/pypy/changeset/899e5245de1e/
Log: Translation fix (uh, unsure what is going on here)
diff --git a/lib-python/2.7/types.py b/lib-python/2.7/types.py
--- a/lib-python/2.7/types.py
+++ b/lib-python/2.7/types.py
@@ -74,7 +74,7 @@
# PyPy extension
try:
FakeFrameType = type(next(sys._current_frames().itervalues()))
-except AttributeError:
+except (AttributeError, StopIteration):
FakeFrameType = FrameType
SliceType = slice
More information about the pypy-commit
mailing list