On Tue, Jun 14, 2005 at 01:34:09PM -0700, Evan Laforge wrote:
> Changing all imports to relative imports fixes all these problems.  In
> fact, http://www.python.org/doc/essays/packages.html, the closest
> thing python has to documentation on packages (apparently no one has
> updated the lang ref since 1.5), seems to recommend relative package
> imports (see "Intra-package References").  It's not too clear though.
> 
> Any particular reason to not use relative imports in quixote?

Relative imports cause problems.  For example, you can end up with
the same module loaded twice.  PEP 328 aims to provide relative
imports that actually work.  I'd be eternally grateful to anyone who
finished implementing the PEP. :-)

  Neil

http://www.python.org/peps/pep-0328.html
_______________________________________________
Quixote-users mailing list
[email protected]
http://mail.mems-exchange.org/mailman/listinfo/quixote-users

Reply via email to