Dr. Dobb's Python-URL! - weekly Python news and links (Nov 3)

Dave Benjamin ramen at lackingtalent.com
Mon Nov 3 16:42:45 CET 2003


In article <vqcn9ooasi2f19 at corp.supernews.com>, Emile van Sebille wrote:
> QOTW:  "...I want to reserve .var for the "with" statement (a la VB)."
>   --Guido van Rossum

I saw this, too! Is this a joke? It seems to contradict the FAQ entry:
http://www.python.org/doc/faq/general.html#why-doesn-t-python-have-a-with-statement-like-some-other-languages

It does seem like the .dot .prefix would disambiguate the variable scope as
long as it is used consistently, but I must say it was a surprise to read
this...

-- 
.:[ dave benjamin (ramenboy) -:- www.ramenfest.com -:- www.3dex.com ]:.
: d r i n k i n g   l i f e   o u t   o f   t h e   c o n t a i n e r :




More information about the Python-list mailing list