commit | 74419f0c64959bb8392fcf3659058410423038e1 | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@python.org> | Fri Jul 03 11:35:37 2020 +0200 |
committer | GitHub <noreply@github.com> | Fri Jul 03 11:35:37 2020 +0200 |
tree | 1682111c3879f1af092746506b516e9048c888ad | |
parent | 9d006977d7ff5a45d6e7d696c1713fdf2dd308b7 [diff] |
bpo-41194: Pass module state in Python-ast.c (GH-21284) Rework asdl_c.py to pass the module state to functions in Python-ast.c, instead of using astmodulestate_global. Handle also PyState_AddModule() failure in init_types().