[Python-ideas] ?? = math.pi
Oleg Broytman
phd at phdru.name
Thu Jun 1 03:08:46 EDT 2017
On Thu, Jun 01, 2017 at 09:47:57AM +0300, Serhiy Storchaka <storchaka at gmail.com> wrote:
> What you are think about adding Unicode aliases for some mathematic names in
> the math module? ;-)
>
> math.?? = math.pi
> math.?? = math.tau
> math.?? = math.gamma
> math.??? = math.e
>
> Unfortunately we can't use ???, ??? and √ as identifiers. :-(
-1. "There should be one-- and preferably only one --obvious way to do it."
And -1 for non-ascii in stdlib.
Oleg.
--
Oleg Broytman http://phdru.name/ phd at phdru.name
Programmers don't die, they just GOSUB without RETURN.
More information about the Python-ideas
mailing list