[Python-Dev] [Python-3000-checkins] r45617 - in python/branches/p3yk/Lib/plat-mac/lib-scriptpackages: CodeWarrior/CodeWarrior_suite.py CodeWarrior/__init__.py Explorer/__init__.py Finder/Containers_and_folders.py Finder/Files.py Finder/Finder_Basics.py Finder
Greg Ewing
greg.ewing at canterbury.ac.nz
Sat Apr 22 02:50:24 CEST 2006
Thomas Wouters wrote:
>
> On 4/21/06, *guido.van.rossum* <python-3000-checkins at python.org
> <mailto:python-3000-checkins at python.org>> 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
More information about the Python-Dev
mailing list