• Kevin Modzelewski's avatar
    Switch uses of getCurrentModule to a new getGlobals() · 6af09380
    Kevin Modzelewski authored
    The callers were assuming that the module represents the globals,
    which is not always true.
    
    We can currently fetch globals from the interpreter, but not the jit.
    We don't allow custom globals through the jit, so for now we can just
    return the module; I think we should be able to support the jit by adding
    the globals as a stackmap arg.
    6af09380
exec_import_star_in.py 114 Bytes