diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-12-02 23:15:22 +0200 |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-12-02 23:15:22 +0200 |
commit | 43ebbf7db2d3d3297e96693fd91ac8a654631438 (patch) | |
tree | 29bd29d34fb300890dd0559befc06f4e0adc61d7 /Python/frozenmain.c | |
parent | bf4d9c8ae56c531f020b58c10c99e04ac17a4eff (diff) | |
parent | b9210b0f24ee0ba5861dffbaa42559a409a71a3e (diff) | |
download | cpython-43ebbf7db2d3d3297e96693fd91ac8a654631438.tar.gz |
Issue #21818: Fixed references to classes that have names matching with module
names.
Diffstat (limited to 'Python/frozenmain.c')
-rw-r--r-- | Python/frozenmain.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Python/frozenmain.c b/Python/frozenmain.c index de8bd35453..769b33d0ee 100644 --- a/Python/frozenmain.c +++ b/Python/frozenmain.c @@ -99,7 +99,9 @@ Py_FrozenMain(int argc, char **argv) #ifdef MS_WINDOWS PyWinFreeze_ExeTerm(); #endif - Py_Finalize(); + if (Py_FinalizeEx() < 0) { + sts = 120; + } error: PyMem_RawFree(argv_copy); |