[Python-Dev] "as" mania
Georg Brandl
g.brandl at gmx.net
Tue Mar 7 18:52:16 CET 2006
More information about the Python-Dev mailing list
Tue Mar 7 18:52:16 CET 2006
- Previous message: [Python-Dev] "as" mania
- Next message: [Python-Dev] "as" mania
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
[HPH the BDFL]
> I suggest you file those as products of an overactive imagination. :-)
At least not only mine. ;)
> Have you even tried to define precise semantics for any of those, like
> the expansion of "with E as V: B" in PEP 343?
Easily.
if expr as name:
BLOCK
would be equivalent to
name = expr
if name:
BLOCK
del name
Same for while.
Georg
- Previous message: [Python-Dev] "as" mania
- Next message: [Python-Dev] "as" mania
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list