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

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

View file

@ -1139,7 +1139,7 @@ static PYC_MAGIC magic_values[] = {
{ 3320, 3351, L"3.5" },
{ 3360, 3379, L"3.6" },
{ 3390, 3399, L"3.7" },
{ 3400, 3410, L"3.8" },
{ 3400, 3419, L"3.8" },
{ 0 }
};