17.05.20 13:47, Thierry Parmentelat пише:
well it’s all in the title

the specific character that I am referring to is this one

In [1]: print("\u2192”)
→

https://unicode-table.com/en/2192/

——

just curious about how people would feel about taking better advantage of non-ascii characters when that seems to make sense

There are a lot of right arrows in Unicode.

>>> print(*[c for c in map(chr, range(0x20000)) if unicodedata.category(c) in ('Sm', 'So') for n in [unicodedata.name(c, '')] if 'RIGHT' in n and 'ARROW' in n]) → ↔ ↛ ↝ ↠ ↣ ↦ ↪ ↬ ↭ ↮ ↱ ↳ ↴ ↹ ⇄ ⇆ ⇉ ⇎ ⇏ ⇒ ⇔ ⇛ ⇝ ⇢ ⇥ ⇨ ⇰ ⇴ ⇶ ⇸ ⇹ ⇻ ⇼ ⇾ ⇿ ⍈ ⍼ ➔ ➙ ➛ ➜ ➝ ➞ ➟ ➠ ➡ ➢ ➣ ➤ ➥ ➦ ➧ ➨ ➩ ➪ ➫ ➬ ➭ ➮ ➯ ➱ ➲ ➳ ➵ ➸ ➺ ➻ ➼ ➽ ➾ ⟴ ⟶ ⟷ ⟹ ⟺ ⟼ ⟾ ⟿ ⤀ ⤁ ⤃ ⤄ ⤅ ⤇ ⤍ ⤏ ⤐ ⤑ ⤔ ⤕ ⤖ ⤗ ⤘ ⤚ ⤜ ⤞ ⤠ ⤳ ⤴ ⤵ ⤷ ⤸ ⤾ ⥂ ⥃ ⥄ ⥅ ⥇ ⥈ ⥰ ⥱ ⥲ ⥴ ⥵ ⥸ ⥹ ⦨ ⦪ ⦬ ⦮ ⦳ ⬄ ⬌ ⬎ ⬏ ⭃ ⭄ ⭆ ⭇ ⭈ ⭌ ⭢ ⭤ ⭬ ⭲ ⭼ ⮀ ⮂ ⮆ ⮊ ⮌ ⮕ ⮙ ⮚ ⮞ ⮡ ⮣ ⮥ ⮧ ⮩ ⮫ ⮭ ⮯ ⮱ ⮳ ⮵ ⮷ ⯮ → 🮸 🮸 🮸 🮸 🮸 🮸 🮸 🮸 🮸 🮸 🮸 🮸 🮸 🮸 🮸 🮸 🮸 🮸 🮸 🮸 🮸 🮸 🮸 🮸 🮸 🮸 🮸 🮸 🮸 🮸 🮸 🮸 🮸 🮸 🮸 🮸 🮸 🮸 🮸 🮸 🮸 🮸 🮸 🮸 🮸

What of them do you want to accept as an alias of ->? And how would you distinguish similarly looking arrows (for example →, ➙, ➞, ⟶, ⭢)?
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/X5BINYPWL6JYMOU4VDKRRMH3TNCODX43/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to