Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Dec 19, 2017

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.

https://bugs.python.org/issue32030

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants