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 kj
Recipients JelleZijlstra, WCA, gvanrossum, kj, levkivskyi
Date 2021-06-22.09:43:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1624354999.0.0.259418417831.issue44468@roundup.psfhosted.org>
In-reply-to
Content
> Ken, if you feel like it, a fix should not be too complicated, right?

Yup. Will's proposal is to change the try-except to:

base_globals = getattr(sys.modules.get(base.__module__, None), '__dict__', {})

@Will, would you like to submit a PR for this? You'd need to sign a CLA. However, if you'd prefer I do it instead I'm happy to make the change.

3.10.0 beta 4 is releasing on 2021-07-10, so preferably we should get the change in by then. It's the last beta before the release candidates.
History
Date User Action Args
2021-06-22 09:43:19kjsetrecipients: + kj, gvanrossum, levkivskyi, JelleZijlstra, WCA
2021-06-22 09:43:19kjsetmessageid: <1624354999.0.0.259418417831.issue44468@roundup.psfhosted.org>
2021-06-22 09:43:18kjlinkissue44468 messages
2021-06-22 09:43:18kjcreate