4e9i
Marius Gedminas suggests that m = import(s, {}, {}, []), and notes that Zope3 uses this a lot. Although this contradicts the standard library documentation (http://www.python.org/doc/current/lib/built-in-funcs.html), which claims that import('x.y.z', {}, {}, fromlist) would only return z if fromlist is non-empty. Bug in the documentation?
last updated 3 years ago by amk #
