New PEP: The directive statement

Aahz Maruch aahz at panix.com
Tue Mar 20 17:57:44 EST 2001


In article <oOQt6.2576$4N4.342378 at newsc.telia.net>,
Fredrik Lundh <fredrik at effbot.org> wrote:
>Aahz Maruch wrote:
>> Fredrik:
>>>
>>>except that "import" already is a declaration statement, of course.
>>
>> Depends how you define "already".  There is no current released version
>> of Python (alphas and betas do not count as "released versions") in
>> which "import" is a declaration.
>
>import declares things, in all existing Python versions (hint: it's
>an assignment statement)

Mmmmm....  I see your point, but I think you're missing Martin's,
particularly in terms of the analogy with "global".  I also think it's
probably better at this point that I let Martin speak for himself rather
than me trying to interpret him.  ;-)
-- 
                      --- Aahz  <*>  (Copyright 2001 by aahz at pobox.com)

Androgynous poly kinky vanilla queer het Pythonista   http://www.rahul.net/aahz/
Hugs and backrubs -- I break Rule 6

"I won't accept a model of the universe in which free will, omniscient
gods, and atheism are simultaneously true."  -- M



More information about the Python-list mailing list