Hi,

while "as" is being made a keyword, I remembered parallels between "with"
and a proposal made some time ago:

with expr as f:
    do something with f

while expr as f:
    do something with f

if expr as f:
    do something with f
elif expr as f:
    do something else with f

What do you think?

Georg

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to