soln for circular imports problem?

Alex cut_me_out at hotmail.com
Tue Sep 19 21:21:30 EDT 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