[3.8] bpo-37830: Fix compilation of break and continue in finally. (GH-15320) (GH-15456)

Fix compilation of "break" and "continue" in the
"finally" block when the corresponding "try" block
contains "return" with a non-constant value.
(cherry picked from commit ef61c524dd)
This commit is contained in:
Serhiy Storchaka 2019-08-24 13:41:53 +03:00 committed by GitHub
parent 920ec4b776
commit ed146b52a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 305 additions and 194 deletions

View file

@ -703,18 +703,18 @@ const unsigned char _Py_M__zipimport[] = {
160,99,0,0,0,0,0,0,0,0,0,0,0,0,1,0,
0,0,8,0,0,0,67,0,0,0,115,108,0,0,0,116,
0,114,22,116,1,160,2,100,1,161,1,1,0,116,3,100,
2,131,1,130,1,100,3,97,0,122,60,122,16,100,4,100,
5,108,4,109,5,125,0,1,0,87,0,110,38,4,0,116,
2,131,1,130,1,100,3,97,0,122,60,122,16,100,5,100,
6,108,4,109,5,125,0,1,0,87,0,110,38,4,0,116,
6,107,10,114,82,1,0,1,0,1,0,116,1,160,2,100,
1,161,1,1,0,116,3,100,2,131,1,130,1,89,0,110,
2,88,0,87,0,53,0,100,6,97,0,88,0,116,1,160,
2,88,0,87,0,53,0,100,4,97,0,88,0,116,1,160,
2,100,7,161,1,1,0,124,0,83,0,41,8,78,122,27,
122,105,112,105,109,112,111,114,116,58,32,122,108,105,98,32,
85,78,65,86,65,73,76,65,66,76,69,250,41,99,97,110,
39,116,32,100,101,99,111,109,112,114,101,115,115,32,100,97,
116,97,59,32,122,108,105,98,32,110,111,116,32,97,118,97,
105,108,97,98,108,101,84,114,0,0,0,0,169,1,218,10,
100,101,99,111,109,112,114,101,115,115,70,122,25,122,105,112,
105,108,97,98,108,101,84,70,114,0,0,0,0,169,1,218,
10,100,101,99,111,109,112,114,101,115,115,122,25,122,105,112,
105,109,112,111,114,116,58,32,122,108,105,98,32,97,118,97,
105,108,97,98,108,101,41,7,218,15,95,105,109,112,111,114,
116,105,110,103,95,122,108,105,98,114,76,0,0,0,114,77,