Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Oct 30, 2018

Make _PySys_AddXOptionWithError() and _PySys_AddWarnOptionWithError()
functions private again. They are no longer need to initalize Python:
_PySys_EndInit() is now responsible to add these options instead.

Moreover, PySys_AddWarnOptionUnicode() now clears the exception on
failure if possible.

https://bugs.python.org/issue32030

Make _PySys_AddXOptionWithError() and _PySys_AddWarnOptionWithError()
functions private again. They are no longer need to initalize Python:
_PySys_EndInit() is now responsible to add these options instead.

Moreover, PySys_AddWarnOptionUnicode() now clears the exception on
failure if possible.
@vstinner vstinner merged commit e1b2995 into python:master Oct 30, 2018
@vstinner vstinner deleted the sys_with_error branch October 30, 2018 13:31
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