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 petr.viktorin
Recipients BTaskaya, corona10, dino.viehland, eric.snow, lukasz.langa, pablogsal, petr.viktorin, shihai1991, vstinner
Date 2020-08-26.18:57:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1598468255.09.0.103685267869.issue41631@roundup.psfhosted.org>
In-reply-to
Content
> Also, option 1 is virtually equivalent to the state of the _ast module prior to the recent changes except that the symbols are in a shared object instead of the binary or libpython. The advantage here is not moving them out of the shared object, is making them having static storage.

What I'm not yet clear on: when is that shared object is initialized and destroyed?

> Would that impact performance considerably?
> Also, adding them into a module that needs access through Python had a bootstrap problem

Only for PyCF_ONLY_AST, which is, AFAIK, not used by the interpreter itself.
History
Date User Action Args
2020-08-26 18:57:35petr.viktorinsetrecipients: + petr.viktorin, vstinner, dino.viehland, lukasz.langa, eric.snow, corona10, pablogsal, BTaskaya, shihai1991
2020-08-26 18:57:35petr.viktorinsetmessageid: <1598468255.09.0.103685267869.issue41631@roundup.psfhosted.org>
2020-08-26 18:57:35petr.viktorinlinkissue41631 messages
2020-08-26 18:57:35petr.viktorincreate