[Python-ideas] Detecting circular imports ?

Peter Otten __peter__ at web.de
Sat Nov 20 10:59:55 CET 2010

M.-A. Lemburg wrote:

> How would the implementation differentiate between a real attribute
> error (missing symbol while setting up a module) and one caused by
> a circular import (symbol available, but not yet defined) ?

Informing the user that the module code hasn't completed yet when the 
AttributeError occurs may be good enough. 

More information about the Python-ideas mailing list