[Python-ideas] Detecting circular imports ?

Nick Coghlan ncoghlan at gmail.com
Fri Nov 19 16:55:15 CET 2010


2010/11/20 M.-A. Lemburg <mal at egenix.com>:
> Nick Coghlan wrote:
>> The issue suffers from the fact that at least some of the people with
>> the knowledge to do something about it are not inclined to do so due
>> to strong stylistic objections (*ahem*).
>
> 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) ?

I'm the wrong person to ask - there's a reason my efforts when it
comes to resolving this consist almost entirely of trying to nudge the
people that actually care about fixing it in potentially promising
directions :)

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia



More information about the Python-ideas mailing list