IRONPYTHON and JYTHON both need the fix, which means if elif else and not if if else
@@ -36,7 +36,7 @@ if not hasattr(sys, '_current_frames'):
ret[thread.getId()] = frame
return ret
- if IS_IRONPYTHON:
+ elif IS_IRONPYTHON:
_tid_to_last_frame = {}
# IronPython doesn't have it. Let's use our workaround...
