I guess for reference:
exec('a\N{MIDDLE DOT} = 0')
exec('\N{BUHID LETTER RA} = 1')
exec('\N{HANGUL LETTER EU} = 2')
exec('\N{TIFINAGH LETTER YO} = 3')
exec('\N{BOPOMOFO LETTER I} = 4')
exec('\N{HANGUL LETTER ARAEA} = 5')
On Sun, Nov 19, 2017 at 1:38 AM, Serhiy Storchaka
wrote:
> 19.11.17 04:01,
On 19/11/2017 05:01, Nick Timkovich wrote:
> Python does not use U+2010 HYPHEN for the minus operator, it uses the
> U+002D (-) HYPHEN-MINUS.
>
> In some monospace fonts, there is a subtle difference between U+002D,
> U+2013 EN DASH, and U+2014 EM DASH, but it's usually hard to tell them
> *a
There is an unfortunate ambiguity in using a character that means "not" as
a word separator:
nuke.do¬launch()
"But... I called the method which explicitly did *not* launch the nuke!"
Stephan
Op 19 nov. 2017 11:05 schreef "Steve Barnes" :
On 19/11/2017 05:01, Nick Timkovich wrote:
> Python
On Sun, 19 Nov 2017 09:38:17 +0200
Serhiy Storchaka
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 h
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" :
> On Sun, 19 Nov 2017 09:38:17 +0200
> Serhiy Storchaka
> wrote:
> > 19.11.17 04:01, Mikhail V пише:
> > > Python allows undersco
On 19/11/2017 11:20, Stephan Houben wrote:
> 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" http://www.avg.com
___
Python-idea
On 11/19/17 1:33 AM, Steve Barnes wrote:
How about allowing ¬, (ASCII 172, U+00ac, NOT sign), in variable names
as in my¬variable - it has the advantages that:
There is NO such character in ASCII. ASCII is a 7 bit character set, and
no ASCII code has a value bigger than 127.
There are a numb
In summary, this proposal seems to be: Give two visually
indistinguishible characters different meanings to
improve readability.
I'm not sure, but something about that sentence doesn't
seem quite right.
--
Greg
___
Python-ideas mailing list
Python-ide
Mikhail V wrote:
In reality, hyphen and Minus sign are not even closely similar -
Minus is ca. twice as wide,
If you are using a font that distinguishes them that clearly,
and if the human reader is sufficiently typographically aware
to notice the distinction. Both of those are big ifs.
And wh
On Sun, Nov 19, 2017 at 5:16 AM, Nick Coghlan wrote:
> On 19 November 2017 at 13:22, Mikhail V wrote:
>> For me, one "cheap" solution against underscores is to use
>> syntax highlighting which grays them out, but if those become like
>> spaces, then it becomes a bit confusing, e.g. in function wi
Bruce Leban wrote:
> It is not a misfortune or even true that Python uses hyphen for minus.
> The name of the character used in Python is HYPHEN-MINUS.
This is pure demagogy, name it HYPHEN-MINUS-TINYDASH if you like,
but what aspect of reality does it change apart of its name?
"Hyphen-minus" wou
On Mon, Nov 20, 2017 at 11:01 AM, Mikhail V wrote:
> 1. The future versions of syntax, ideally, must allow ONLY minus U2212 for
> the minus operator, and allow hyphens 002D in identifiers. Since it is
> impossible
> to the current moment, I must think out the least painful transition.
The least p
On Mon, Nov 20, 2017 at 11:18 AM, Mikhail V wrote:
> Bruce Leban wrote:
>
>> It is not a misfortune or even true that Python uses hyphen for minus.
>> The name of the character used in Python is HYPHEN-MINUS.
>
> This is pure demagogy, name it HYPHEN-MINUS-TINYDASH if you like,
> but what aspect o
On 2017-11-20 00:20, Chris Angelico wrote:
On Mon, Nov 20, 2017 at 11:01 AM, Mikhail V wrote:
1. The future versions of syntax, ideally, must allow ONLY minus U2212 for
the minus operator, and allow hyphens 002D in identifiers. Since it is
impossible
to the current moment, I must think out the
On Sun, Nov 19, 2017 at 4:18 PM, Mikhail V wrote:
> Bruce Leban wrote:
>
> > It is not a misfortune or even true that Python uses hyphen for minus.
> > The name of the character used in Python is HYPHEN-MINUS.
>
> This is pure demagogy, name it HYPHEN-MINUS-TINYDASH if you like,
> but what aspect
Please kill this thread.
On Sun, Nov 19, 2017 at 7:57 PM, Bruce Leban wrote:
>
> On Sun, Nov 19, 2017 at 4:18 PM, Mikhail V wrote:
>
>> Bruce Leban wrote:
>>
>> > It is not a misfortune or even true that Python uses hyphen for minus.
>> > The name of the character used in Python is HYPHEN-MINUS
On Mon, Nov 20, 2017 at 5:46 AM, Guido van Rossum wrote:
> Please kill this thread.
So the idea is too bad?
___
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/ps
17 matches
Mail list logo