On Thu, 16 Jul 2020 at 15:58, Guido van Rossum <guido@python.org> wrote:
That’s probably best. I have seen ‘global SomeClass’ used in tests as a hack, too.
Thank you both. So the importlib "hack" is a good way to fetch the global scope of the module, right?



--
Patrick Arminio