This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients dino.viehland, eric.snow, miss-islington, vstinner
Date 2020-07-03.12:27:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1593779273.97.0.883600601224.issue38113@roundup.psfhosted.org>
In-reply-to
Content
> New changeset ac46eb4ad6662cf6d771b20d8963658b2186c48c by Eric Snow (Dino Viehland) in branch 'master':
> bpo-38113: Update the Python-ast.c generator to PEP384 (gh-15957)

This change introduced a subtle regression: bpo-41194. I modified the _ast module to use again a global state:

New changeset 91e1bc18bd467a13bceb62e16fbc435b33381c82 by Victor Stinner in branch 'master':
bpo-41194: The _ast module cannot be loaded more than once (GH-21290)
https://github.com/python/cpython/commit/91e1bc18bd467a13bceb62e16fbc435b33381c82


I also proposed PR 21293 to use again a module state, even if the implementation has some drawbacks (see the PR comments).
History
Date User Action Args
2020-07-03 12:27:53vstinnersetrecipients: + vstinner, dino.viehland, eric.snow, miss-islington
2020-07-03 12:27:53vstinnersetmessageid: <1593779273.97.0.883600601224.issue38113@roundup.psfhosted.org>
2020-07-03 12:27:53vstinnerlinkissue38113 messages
2020-07-03 12:27:53vstinnercreate