File tree 2 files changed +4
-1
lines changed 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,9 @@ What's New in Python 3.6.1 release candidate 1?
10
10
Core and Builtins
11
11
-----------------
12
12
13
+ - bpo-29607: Fix stack_effect computation for CALL_FUNCTION_EX.
14
+ Patch by Matthieu Dartiailh.
15
+
13
16
- bpo-29602: Fix incorrect handling of signed zeros in complex constructor for
14
17
complex subclasses and for inputs having a __complex__ method. Patch
15
18
by Serhiy Storchaka.
Original file line number Diff line number Diff line change @@ -1043,7 +1043,7 @@ PyCompile_OpcodeStackEffect(int opcode, int oparg)
1043
1043
case CALL_FUNCTION_KW :
1044
1044
return - oparg - 1 ;
1045
1045
case CALL_FUNCTION_EX :
1046
- return - (( oparg & 0x01 ) != 0 ) - ((oparg & 0x02 ) != 0 );
1046
+ return -1 - ((oparg & 0x01 ) != 0 );
1047
1047
case MAKE_FUNCTION :
1048
1048
return -1 - ((oparg & 0x01 ) != 0 ) - ((oparg & 0x02 ) != 0 ) -
1049
1049
((oparg & 0x04 ) != 0 ) - ((oparg & 0x08 ) != 0 );
You can’t perform that action at this time.
0 commit comments