soln for circular imports problem?

Alex cut_me_out at hotmail.com
Wed Sep 20 03:21:30 CEST 2000


[Tom]
> Is there a solution to the problem of circular imports?
> 
> Usually I can get around it by moving one of the imports closer to
> where it is needed (usually this means moving it into a method), but
> this doesn't seem like a good solution, nor is it always possible.

I can't think of a case where this is hard to solve by the methods you
describe.  Can you describe one?

Alex.

-- 
Speak softly but carry a big carrot.



More information about the Python-list mailing list