SIGN IN SIGN UP

bpo-30860: Fix a refleak. (#3506)

* Drop warnoptions from PyInterpreterState.

* Drop xoptions from PyInterpreterState.

* Don't set warnoptions and _xoptions again.

* Decref after adding to sys.__dict__.

* Drop an unused macro.

* Check sys.xoptions *before* we delete it.
E
Eric Snow committed
8728018624f257c7cfe44014742ae46134047f49
Parent: ba6d5d1
Committed by Victor Stinner <victor.stinner@gmail.com> on 9/12/2017, 12:59:22 AM