[Python-Dev] [Python-checkins] r43033 - in python/trunk/Lib: distutils/sysconfig.py encodings/__init__.py
Phillip J. Eby
pje at telecommunity.com
Wed Mar 15 20:23:39 CET 2006
At 10:33 AM 3/15/2006 -0800, Guido van Rossum wrote:
>Well, absolute imports without the future statement will not use the
>5th argument, so they won't break, right? That's what MAL also says.
>Someone please fix this.
Why is a 5th argument needed to do absolute imports? Shouldn't it suffice
to supply a globals argument with no __path__ and an undotted
__name__? ISTM that passing in the builtins dictionary as the globals
argument ought to do the trick.
More information about the Python-Dev