basically, what I want to do is add a function name to an outside reference in a safe sys.modules reference without copying the name...
best idea I got is to call a 3rd party function:
def myfunc(args):
x = None
return x
addname() # add 'myfunc' to sys.modules['/safe_ref/']
anyone got any ideas??
including other methods
perhaps defining the function using a referenced string name:
def (addname('myfunc'))(args):
the whole sys.modules['/safe_ref/']
thing is used by external programs
basically, I'm trying to query my interface's functions as it's imported