SIGN IN SIGN UP

bpo-32030: Make _PySys_AddXOptionWithError() private (GH-10236)

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

Moreover, PySys_AddWarnOptionUnicode() now clears the exception on
failure if possible.
V
Victor Stinner committed
e1b29950bf751381538e3c8ea6a3e0a98d01dbfb
Parent: 905f1ac
Committed by GitHub <noreply@github.com> on 10/30/2018, 1:31:42 PM