mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +00:00
bpo-32030: Add _PyMainInterpreterConfig.warnoptions (#4855)
Add warnoptions and xoptions fields to _PyMainInterpreterConfig.
This commit is contained in:
parent
53f7a7c281
commit
374c6e178a
3 changed files with 105 additions and 48 deletions
|
|
@ -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 \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue