[Python-Dev] Re: Christmas Wishlist

Fred L. Drake, Jr. fdrake at acm.org
Mon Dec 15 10:14:24 EST 2003


Barry Warsaw writes:
 > V <wink>. Explicit global imports.  I want a way to spell "import this
 > from the global standard library even if there's a this.py  in the local
 > directory".

I like the syntax:

    import global <dotted-name>

and

    from global <dotted-name> import <name>

Look Guido, no new keywords!  ;-)


  -Fred

-- 
Fred L. Drake, Jr.  <fdrake at acm.org>
PythonLabs at Zope Corporation



More information about the Python-Dev mailing list