[Python-checkins] cpython: Fixed refactoring bug in dd046963bd42 (issue27129).
serhiy.storchaka
python-checkins at python.org
Sun Sep 11 08:19:37 EDT 2016
https://hg.python.org/cpython/rev/b49a938eaa31
changeset: 103629:b49a938eaa31
user: Serhiy Storchaka <storchaka at gmail.com>
date: Sun Sep 11 15:19:12 2016 +0300
summary:
Fixed refactoring bug in dd046963bd42 (issue27129).
files:
Python/peephole.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Python/peephole.c b/Python/peephole.c
--- a/Python/peephole.c
+++ b/Python/peephole.c
@@ -475,7 +475,7 @@
CONST_STACK_CREATE();
for (i=find_op(codestr, 0) ; i<codelen ; i=nexti) {
- opcode = codestr[i];
+ opcode = _Py_OPCODE(codestr[i]);
op_start = i;
while (op_start >= 1 && _Py_OPCODE(codestr[op_start-1]) == EXTENDED_ARG) {
op_start--;
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list