Import bug: Module executed twice when imported!

Michael Abbott michael at araneidae.co.uk.invalid
Fri Jun 30 17:28:31 EDT 2006


In article <mailman.7672.1151695992.27775.python-list at python.org>,
 Jean-Paul Calderone <exarkun at divmod.com> wrote:

> Set __name__ to 'subtest' as it would be if you had really imported
> subtest and the import system will correctly name the modules, causing
> imptest to be imported only once.

Ach.  I get it now.



More information about the Python-list mailing list