Author: Armin Rigo <[email protected]>
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
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit