2018-05-23 14:19 GMT+03:00 Masayuki YAMAMOTO <ma3yuki.8mam...@gmail.com>:

> FYI, I found a package [*] which binds a value by function keyword (I'm
> not the author). Note that the package writes a value in the global (or
> raise an error if the name already exists in local) unlike your idea.
>
> [*] https://pypi.org/project/let3/
>
> --
> Masayuki
>

Thank you! Writing to a globals is an even more stripped-down version from
the inteded behaviour, for example it would not work in comprehensions at
all and would not work if function has the same local name. In fact
comprehension/generator cases are the least interesting for me. I just
wanted to minimize side-effects.

With kind regards,
-gdg
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to