[Python-ideas] Visually confusable unicode characters in identifiers
Chris Angelico
rosuav at gmail.com
Mon Oct 1 18:19:40 CEST 2012
More information about the Python-ideas mailing list
Mon Oct 1 18:19:40 CEST 2012
- Previous message: [Python-ideas] Visually confusable unicode characters in identifiers
- Next message: [Python-ideas] Visually confusable unicode characters in identifiers
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, Oct 2, 2012 at 2:07 AM, Mathias Panzenböck <grosser.meister.morti at gmx.net> wrote: > I still don't understand why unicode characters are allowed at all in > identifier names. Is the reason for this written down somewhere? Same reason you're allowed more than two letters in your identifiers: to allow programmers to make variable names meaningful. The problem isn't with Unicode, anyway; there are plenty of fonts in which l and 1 are practically identical, and unless your font is monospaced, you probably will have trouble distinguishing __________rn___ from __________m___ (just how many underscores IS that?). It's up to the programmer to be smart about his names. ChrisA
- Previous message: [Python-ideas] Visually confusable unicode characters in identifiers
- Next message: [Python-ideas] Visually confusable unicode characters in identifiers
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-ideas mailing list