onelinerizer
onelinerizer copied to clipboard
Implement from foo import *
from module import *
could be implemented as locals().update(vars(__import__('module')))
@mitchellrj Not quite, both because we don’t use the real locals()
and because *
must only give you public names from the module.