commit | 5d8624647d0b8ccb22b17b9e819a8e0c3fb4fe4a | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Tue Dec 19 11:35:58 2017 +0100 |
committer | GitHub <noreply@github.com> | Tue Dec 19 11:35:58 2017 +0100 |
tree | b83a730b4c1711f9d50bf0477f552a714160cf55 | |
parent | 21be85f52030b828679ffb9c8cddb5ac48946a30 [diff] |
bpo-32030: Fix compiler warnings (#4921) Fix compiler warnings in Py_FinalizeEx(): only define variables if they are needed, add #ifdef. Other cleanup changes: * _PyWarnings_InitWithConfig() is no more needed: call _PyWarnings_Init() instead. * Inline pymain_init_main_interpreter() in its caller. This subfunction is no more justifed.