• Victor Stinner's avatar
    bpo-32030: Fix compiler warnings (#4921) · 5d862464
    Victor Stinner yazdı
    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.
    5d862464
_warnings.c 34.5 KB