bpo-32030: Make _PySys_AddXOptionWithError() private by vstinner · Pull Request #10236 · python/cpython (original) (raw)
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.