Thomas Wouters wrote:
> 
> On 4/21/06, *guido.van.rossum* <[email protected] 
> <mailto:[email protected]>> wrote:
> 
>     somehow changing "import foo" into "from . import foo" ...
>     caused things to break.  Bah. 
> 
> Hm, this is possibly a flaw in the explicit relative import mechanism. 

I don't see that this has anything to do with relative imports.
It's just the usual kind of problem you get with 'from ... import ...'
and mutual imports.

Does

    import .foo

work?

--
Greg
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to