gh-145076: Check globals type in __lazy_import__() (#145086)

2 files changed