> math.π instead of math.pi

That is already possible, just not done in the standard library, no? Your
point still stands, but it's rather different to your other examples, which
are actual changes to syntax.

With regards to the actual proposal, I quite like the idea of being able to
use them, but I don't think it's worth portability issues - style guides
would just end up forbidding it anyway. They're also hard to type, and of
course,
> There should be one-- and preferably only one --obvious way to do it.

On Sun, 17 May 2020 at 13:32, Alex Hall <[email protected]> wrote:

> On Sun, May 17, 2020 at 2:24 PM Thierry Parmentelat <
> [email protected]> wrote:
>
>> 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
>>
>>
>> fyi here’s how both options appear in a markdown-based website
>>
>>
> I'm not a fan of the idea, just in case the code ends up being copied
> somewhere it can't be rendered properly.
>
> If we consider the arrow, what about ≤ instead of <=, ≥ instead of >=, ≠
> instead of !=, × instead of `*`, and math.π instead of math.pi?
> _______________________________________________
> Python-ideas mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> https://mail.python.org/mailman3/lists/python-ideas.python.org/
> Message archived at
> https://mail.python.org/archives/list/[email protected]/message/EKQ4WJDWE2TVCE5SRMOTVW3DC6DNXMLD/
> Code of Conduct: http://python.org/psf/codeofconduct/
>
_______________________________________________
Python-ideas mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/5MFTCANQYPRA7VFLAAIKBDWZQTVFB6YF/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to