[Python-ideas] allow `lambda' to be spelled λ

Cody Piersall cody.piersall at gmail.com
Thu Jul 14 09:53:51 EDT 2016

On Tue, Jul 12, 2016 at 7:38 AM, Stephan Houben <stephanh42 at gmail.com> wrote:
> Hi list,
> Here is my speculative language idea for Python:
> Allow the following alternative spelling of the keyword `lambda':
> λ
> (That is "Unicode Character 'GREEK SMALL LETTER LAMDA' (U+03BB).")

Just to be a small data point, I have written code that uses λ as a
variable name (as someone mentioned elsewhere in the thread, Jupyter
Notebook makes typing Greek characters easy).  Because this would
break code that I have written, and I suspect it would break other
code as well, I am -1 on the proposal.  How selfish of me!


More information about the Python-ideas mailing list