[Python-ideas] Allow additional separator character in variables
rosuav at gmail.com
Thu Nov 23 09:16:59 EST 2017
On Fri, Nov 24, 2017 at 1:10 AM, Mikhail V <mikhailwas at gmail.com> wrote:
> Well, then there is some bitter irony in this, so it allows pretty
> much everything,
> but does not allow me to beautify code with hyphens.
> I can fully understand the wish to use non-latin scripts in strings or comments.
> As for identifiers, IMO, apart from latin letters and underscore, the
> first unicode candidate
> I would add is U+2010. And probably the LAST one I would add.
Fortunately for the world, you're not the one who decided which
characters were permitted in Python identifiers. The ability to use
non-English words for function/variable names is of huge value; the
ability to use a hyphen is of some value, but not nearly as much.
Can this thread move to python-list? Or, better, to
python-rants-about-unicode-list, to which I don't subscribe?
More information about the Python-ideas