diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2017-12-14 11:05:26 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-14 11:05:26 (GMT) |
commit | 374c6e178a7599aae46c857b17c6c8bc19dfe4c2 (patch) | |
tree | 54d60a3dce0e5b2285a887710f7e9204a5b1faec /Include | |
parent | 53f7a7c2814fbfd8a29200926601a32fa48bacb3 (diff) | |
download | cpython-374c6e178a7599aae46c857b17c6c8bc19dfe4c2.zip cpython-374c6e178a7599aae46c857b17c6c8bc19dfe4c2.tar.gz cpython-374c6e178a7599aae46c857b17c6c8bc19dfe4c2.tar.bz2 |
bpo-32030: Add _PyMainInterpreterConfig.warnoptions (#4855)
Add warnoptions and xoptions fields to _PyMainInterpreterConfig.
Diffstat (limited to 'Include')
-rw-r--r-- | Include/pystate.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/pystate.h b/Include/pystate.h index 9a26cc3..e8cf413 100644 --- a/Include/pystate.h +++ b/Include/pystate.h @@ -59,6 +59,8 @@ typedef struct { int install_signal_handlers; PyObject *argv; /* sys.argv list, can be NULL */ PyObject *module_search_path; /* sys.path list */ + PyObject *warnoptions; /* sys.warnoptions list, can be NULL */ + PyObject *xoptions; /* sys._xoptions dict, can be NULL */ } _PyMainInterpreterConfig; #define _PyMainInterpreterConfig_INIT \ |