Ken Jin <[email protected]> added the comment:
> 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.
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue44468>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com