Tried naming parent modules explicitly

Why can't there be something like Python's NameError popping up so I
know what I'm doing wrong?