[issue2090] __import__ with fromlist=[''] causes double initialization of modules
hauser <[EMAIL PROTECTED]> added the comment: There are quite a few projects that use this solution: http://google.com/codesearch?hl=en&lr=&q=__import__.*%5C%5B%27%27%5C%5D . I would change it even if it is a hack, but I understand your point. -- version
[issue2090] __import__ with fromlist=[''] causes double initialization of modules
New submission from hauser: This construction: __import__( 'pkg', {}, {}, [''] ) Will cause double initialization of package 'pkg', once with name 'pkg' and second one with name 'pkg.' (trailing dot). Implementation tries to import subpack