[Python-Dev] Broken import? (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Wed Apr 1 00:47:23 CEST 2009
- Previous message: [Python-Dev] Test failures under Windows?
- Next message: [Python-Dev] Broken import?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
-- Greg
- Previous message: [Python-Dev] Test failures under Windows?
- Next message: [Python-Dev] Broken import?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]