Author: Carl Friedrich Bolz-Tereick <[email protected]>
Branch:
Changeset: r93878:57349ce40416
Date: 2018-02-23 11:22 +0100
http://bitbucket.org/pypy/pypy/changeset/57349ce40416/
Log: no need to get the executioncontext a second time, it's already in a
local variable
diff --git a/pypy/interpreter/pyframe.py b/pypy/interpreter/pyframe.py
--- a/pypy/interpreter/pyframe.py
+++ b/pypy/interpreter/pyframe.py
@@ -270,8 +270,8 @@
#
try:
if operr is not None:
- ec = self.space.getexecutioncontext()
- next_instr = self.handle_operation_error(ec, operr)
+ next_instr = self.handle_operation_error(
+ executioncontext, operr)
self.last_instr = intmask(next_instr - 1)
else:
# Execution starts just after the last_instr. Initially,
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit