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/2003-February/032809.html below:

[Python-Dev] exec/with thunk-handling proposal

[Python-Dev] exec/with thunk-handling proposal [Python-Dev] exec/with thunk-handling proposalGerald S. Williams gsw@agere.com
Mon, 3 Feb 2003 09:27:20 -0500
holger krekel wrote:
> I think we can may get away with only a "weak" keyword
> and allow the aforementioned encapsulation of execution 
> events into an object like this:
> 
>     exec expr [with params]: suite

I was about to propose something similar. This looks like
it can be unified with what Guido proposed.

> regards and interested in comments,

An observation:

Used like this, "with" looks like an alias for "lambda"
(providing default values for all parameters).

-Jerry




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