[pypy-commit] pypy default: no need to get the executioncontext a second time, it's already in a local
cfbolz
pypy.commits at gmail.com
Sat Feb 24 03:26:55 EST 2018
Author: Carl Friedrich Bolz-Tereick <cfbolz at gmx.de>
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,
More information about the pypy-commit
mailing list