[Python-Dev] unexpected import behaviour

Oleg Broytman phd at phd.pp.ru
Fri Jul 30 21:50:42 CEST 2010


On Fri, Jul 30, 2010 at 07:46:44PM +0100, Daniel Waterworth wrote:
> can anyone think of a case where someone has
> been annoyed that, having imported that same module twice via
> symlinks, they have had problems relating to modules being independent
> instances?

   I've had problems with two instances of the same module imported after
sys.path manipulations. Never had a problem with reimported scripts.

Oleg.
-- 
     Oleg Broytman            http://phd.pp.ru/            phd at phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.


More information about the Python-Dev mailing list