def computeExpressionRaw(self, trace_collection): # For binaries, we can know it definite, but not for modules. if Options.getModuleNameMode() != "runtime": result = makeConstantRefNode( constant=self.variable.getModule().getRuntimeNameValue(), source_ref=self.source_ref, ) return result, "new_expression", "Using constant '__name__' value." return self, None, None