[Python-ideas] π = math.pi

Sven R. Kunze srkunze at mail.de
Thu Jun 1 03:19:56 EDT 2017


On 01.06.2017 08:47, Serhiy Storchaka 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. :-(
>
> _______________________________________________
> 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/

No, thank you. :)

One way to do it is perfectly fine.

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20170601/5cfcb140/attachment.html>


More information about the Python-ideas mailing list