Skip to content
Sharp

Python Internals · interview question

Which move is the best default when import system and caching become part of this workflow?

Multiple choiceHardchapter-19-curatedpremiumpython-internalsimport-system-and-caching
Choose one answer
Answer and explanation

Correct answer

B. Understand module loading and caching well enough to explain circular-import pain and startup shape.

Why

Understand module loading and caching well enough to explain circular-import pain and startup shape. That is the stronger engineering move because candidates who can explain sys.modules and import caching usually sound well-grounded. Treating imports as free and contextless makes certain runtime bugs harder to untangle.

Test yourself on Python Internals

A free test with instant, explained results. No account needed.

Start free test
All Python Internals questions →