Favorite non-python language trick?
Christos TZOTZIOY Georgiou
tzot at sil-tec.gr
Fri Jul 1 21:58:22 CEST 2005
On Fri, 24 Jun 2005 21:17:09 GMT, rumours say that Ron Adam
<rrr at ronadam.com> might have written:
>I think some sort of inline or deferred local statement would be useful
>also. It would serve as a limited lambda (after it's removed), eval
>alternative, and as a inlined function in some situations as well I think.
> name = defer <expression>
>then used as:
> result = name()
>The expression name() will never have arguments as it's meant to
>reference it's variables as locals and probably will be replaced
>directly with names's byte code contents at compile time.
>Defer could be shortened to def I suppose, but I think defer would be
>clearer. Anyway, it's only a wish list item for now.
This is similar:
TZOTZIOY, I speak England very best.
please stop spamming us."
More information about the Python-list