A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2006-March/062129.html below:

[Python-Dev] "as" mania

[Python-Dev] "as" mania [Python-Dev] "as" maniaGuido van Rossum guido at python.org
Tue Mar 7 16:14:24 CET 2006
I suggest you file those as products of an overactive imagination. :-)

Have you even tried to define precise semantics for any of those, like
the expansion of "with E as V: B" in PEP 343?

--Guido

On 3/7/06, Georg Brandl <g.brandl at gmx.net> wrote:
> 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 at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: http://mail.python.org/mailman/options/python-dev/guido%40python.org
>


--
--Guido van Rossum (home page: http://www.python.org/~guido/)
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4