Question about circular imports
Frank Millman
frank at chagford.com
Sun Feb 26 06:22:21 EST 2012
"Peter Otten" <__peter__ at web.de> wrote in message
news:jid424$vfp$1 at dough.gmane.org...
> Frank Millman wrote:
>
>
> To cut a long story short, why should circular imports be unavoidable?
>
> Paths into packages are recipe for desaster. You may end up with multiple
> instances of the same module and your programs will break in "interesting"
> (hard to debug) ways.
>
Thanks, Peter. I have just figured this out for myself, but you beat me to
it.
Full paths it is, then.
Frank
More information about the Python-list
mailing list