[Python-Dev] Broken import?
greg.ewing at canterbury.ac.nz
Wed Apr 1 00:47:23 CEST 2009
Nick Coghlan wrote:
> Jim Fulton's example in that tracker issue shows that with a bit of
> creativity you can provoke this behaviour *without* using a from-style
> import. Torsten Bronger later brought up the same issue that Fredrik did
> - it prevents some kinds of explicit relative import that look like they
> should be fine.
I haven't been following this very closely, but if there's
something that's making absolute and relative imports
behave differently, I think it should be fixed. The only
difference between an absolute and relative import of the
same module should be the way you specify the module.
More information about the Python-Dev