[Python-ideas] π = math.pi

Lucas Wiman lucas.wiman at gmail.com
Thu Jun 1 03:31:32 EDT 2017


I like the aesthetic of the idea, but it seems like this would be a better
fit in a library namespace like sympy or jupyter.

On Thu, Jun 1, 2017 at 12:19 AM, Sven R. Kunze <srkunze at mail.de> wrote:

> 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
>
> _______________________________________________
> 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/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20170601/b1ec3574/attachment-0001.html>


More information about the Python-ideas mailing list