On 17/02/17 10:22, Stephan Houben wrote:
Proposal: Light-weight call-by-name syntax in Python

  The following syntax
     a : b
  is to be interpreted as:
     a(lambda: b)

Isn't this too general a syntax? Doesn't it lead to something like:

if a: b: c: d: e: pass

E.
_______________________________________________
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