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 Mark.Shannon, brett.cannon, gvanrossum, petr.viktorin, rhettinger, serhiy.storchaka, vstinner, yselivanov
Date 2021-02-18.17:01:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> You say it's on purpose, what's the purpose? Aren't you worried this is going to break stuff?

There is a subtle behavior difference between Python 3.9 and Python 3.10. of bpo-43228 works on Python 3.9 but fails on Python 3.10. With my PR 24564, works again on Python 3.10.

See bpo-43228 for the details.

> And why is this necessary given the LOAD_GLOBAL cache?

My PR 24564 is not related to LOAD_GLOBAL, but how a frame fills its f_builtins member from a function.

LOAD_GLOBAL uses f_globals and f_builtins members of a frame.
Date User Action Args
2021-02-18 17:01:38vstinnersetrecipients: + vstinner, gvanrossum, brett.cannon, rhettinger, petr.viktorin, Mark.Shannon, serhiy.storchaka, yselivanov
2021-02-18 17:01:38vstinnersetmessageid: <>
2021-02-18 17:01:38vstinnerlinkissue42990 messages
2021-02-18 17:01:38vstinnercreate