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

This idea of "visually confusable" seems like a very silly thing to worry about, as others have noted. It's not just that completely different letters from different alphabets may "look similar", it's also that the similarity is completely dependent on the specific font used for display. My favorite font might have clearly distinguished glyphs for the Cyrillic, Roman, and Greek "A", even if your font uses identical glyphs. So in this crazy scenario, Python would have to gain awareness of the fonts installed in every text editor and display device of every user. On Jul 21, 2016 12:55 AM, "Chris Angelico" <rosuav@gmail.com> wrote: On Thu, Jul 21, 2016 at 5:47 PM, Rustom Mody <rustompmody@gmail.com> wrote:
No; I'm not saying that. I'm completely disagreeing with #1's value. I don't think the language interpreter should concern itself with visually-confusing identifiers. Unicode normalization is about *equivalent characters*, not confusability, and I think that's as far as Python should go. ChrisA _______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/
participants (1)
-
David Mertz