commit | 8728018624f257c7cfe44014742ae46134047f49 | [log] [tgz] |
---|---|---|
author | Eric Snow <ericsnowcurrently@gmail.com> | Mon Sep 11 17:59:22 2017 -0700 |
committer | Victor Stinner <victor.stinner@gmail.com> | Mon Sep 11 17:59:22 2017 -0700 |
tree | d3465549106d04472cb05f70b317f20dd7fc77f6 | |
parent | ba6d5d1defd7a281c8c8804e4b4cfd7370886236 [diff] |
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.