On Fri, Feb 21, 2020 at 3:06 AM Geoff Bache <geoff.ba...@gmail.com> wrote: > > Hi Chris, > > Yes, I've tried both of these things already. I can confirm there are > multiple calls, and that pre-importing the module fixes it. But pre-importing > it is not a solution in practice. >
Cool, good to know. Crazy idea: What would happen if you stick something temporarily into sys.modules["b"], then when you're done importing, set the module back into there? Might not help, but would be interesting to try, and might show a bit more of what's going on. ChrisA -- https://mail.python.org/mailman/listinfo/python-list