[Python-Dev] Relative vs. absolute imports

Bernhard Herzog bh at intevation.de
Mon May 17 10:26:06 EDT 2004


"Phillip J. Eby" <pje at telecommunity.com> writes:

> At 03:42 PM 5/17/04 +0200, M.-A. Lemburg wrote:
>>I have a few questions about the PEP 328 which I'd like discussed:
>>
>>* Why do we absolutely need to change the current scheme
>>   of 'local, then absolute' for name resolution ?
>
> Because there's no way to override the current scheme without calling
> __import__ directly.

Why does it have to be fixed in an incompatible way?

   Bernhard

-- 
Intevation GmbH                                 http://intevation.de/
Skencil                                http://sketch.sourceforge.net/
Thuban                                  http://thuban.intevation.org/



More information about the Python-Dev mailing list