[Python-Dev] 'import as'

Thomas Wouters thomas@xs4all.net
Fri, 18 Aug 2000 18:22:46 +0200


On Fri, Aug 18, 2000 at 11:06:11AM -0400, Barry A. Warsaw wrote:

>     Gordo> So I'm -0: it just adds complexity to an already overly
>     Gordo> complex area.

> I agree, -0 from me too.

What are we voting on, here ?

import <name> as <localname> (in general)

or

import <name1>.<nameN>+ as <localname> (where localname turns out an alias
for name1)

or

import <name1>.<nameN>*.<nameX> as <localname> (where localname turns out an
alias for nameX, that is, the last part of the dotted name that's being
imported)

? 

-- 
Thomas Wouters <thomas@xs4all.net>

Hi! I'm a .signature virus! copy me into your .signature file to help me spread!