package import dangers

Steven D'Aprano steven at REMOVE.THIS.cybersource.com.au
Tue Oct 6 22:25:25 EDT 2009


On Tue, 06 Oct 2009 21:44:35 -0400, Dave Angel wrote:

> I'm surprised to see you missed this.  A module doesn't generally import
> itself, but it's an easy mistake for a circular dependency to develop
> among modules.

Circular imports are always a difficulty. That has nothing to do with 
making modules executable as scripts.


-- 
Steven



More information about the Python-list mailing list