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

Chris Angelico rosuav at gmail.com
Thu Jul 21 10:34:32 EDT 2016

On Fri, Jul 22, 2016 at 12:25 AM, Steven D'Aprano <steve at pearwood.info> wrote:
> On Wed, Jul 20, 2016 at 06:16:10PM -0300, Danilo J. S. Bellini wrote:
>> 2. About those lexical error messages, the caret is worse than the lack of
>> it when it's not aligned, but unless I'm missing something, one can't
>> guarantee that the terminal is printing the error message with the right
>> encoding. Including the row and column numbers in the message would be
>> helpful.
> It would be nice for the caret to point to the illegal character, but
> it's not *wrong* to point past it to the end of the token that contains
> the illegal character.

And it's currently being explored here:


If you like the idea of the caret pointing somewhere else, join the discussion.


More information about the Python-ideas mailing list