Ezio Melotti added the comment:
You should propose this to the python-ideas mailing list first.
It might be worth checking the archives of the ML as well -- I think I saw
already something similar a while ago.
--
nosy: +ezio.melotti
resolution: -> rejected
stage: -> committed/rejecte
New submission from HaiYun Yan :
use "as" for block scope support
just like mozilla javascript "let" extension
https://developer.mozilla.org/en/new_in_javascript_1.7#Block_scope_with_let_%28Merge_into_let_Statement%29
usage:
as_clause(as_declare): "as" NAME
as_stmt: NAME "as" test
as_expr: "("