Lament: Import is not very smart.

John Lenton jlenton at gmail.com
Thu Jul 15 18:04:28 CEST 2004


On 15 Jul 2004 08:13:16 -0700, Lonnie Princehouse
<finite.automaton at gmail.com> wrote:
> > you mean we should always have to say "import foo.bar.baz", even when
> > I'm in 'foo.bar'?
> 
> PEP 328 clarifies relative/absolute imports.  It should be available
> in the 2.4a release via "from __future__ import absolute_import"

excellent!


-- 
John Lenton (jlenton at gmail.com) -- Random fortune:
bash: fortune: command not found



More information about the Python-list mailing list