diff options
| author | Victor Stinner <vstinner@python.org> | 2020-03-02 15:02:18 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-02 15:02:18 +0100 |
| commit | 66b7973c1b2e6aa6a2462c6b13971a08cd665af2 (patch) | |
| tree | 29a6bfce69d2d244c2b307ab274e08a935be9fe5 /Lib/ast.py | |
| parent | 4482337decdbd0c6e2150346a68b3616bda664aa (diff) | |
| download | cpython-git-66b7973c1b2e6aa6a2462c6b13971a08cd665af2.tar.gz | |
bpo-39796: Fix _warnings module initialization (GH-18739)
* Add _PyWarnings_InitState() which only initializes the _warnings
module state (tstate->interp->warnings) without creating a module
object
* Py_InitializeFromConfig() now calls _PyWarnings_InitState() instead
of _PyWarnings_Init()
* Rename also private functions of _warnings.c to avoid confusion
between the public C API and the private C API.
Diffstat (limited to 'Lib/ast.py')
0 files changed, 0 insertions, 0 deletions
