[Python-ideas] Allow additional separator character in variables

Stephan Houben stephanh42 at gmail.com
Sun Nov 19 06:20:34 EST 2017


You think that's bad?
https://github.com/reinderien/mimic/blob/master/README.md

Abandon all hope ye who use Unicode.

Op 19 nov. 2017 12:06 schreef "Antoine Pitrou" <solipsis at pitrou.net>:

> On Sun, 19 Nov 2017 09:38:17 +0200
> Serhiy Storchaka <storchaka at gmail.com>
> wrote:
> > 19.11.17 04:01, Mikhail V пише:
> > > Python allows underscore character as a separator in variables.
> > > This is better than nothing, still it does not make the look much
> better.
> > >
> > > **Proposal**: allow additional separator, namely hyphen character.
> >
> > You already can use "separators" different from the underscore.
> >
> > my·variable
> > myᝍvariable
> > myㅡvariable
> > myⵧvariable
> > myㄧvariable
> > myㆍvariable
>
> This is going to make for some fun code reviews.
>
> Regards
>
> Antoine.
>
>
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20171119/2e0f92d3/attachment.html>


More information about the Python-ideas mailing list