[Python-ideas] π = math.pi

Guido van Rossum guido at python.org
Fri Jun 2 19:29:16 EDT 2017


Are those characters not considered Unicode letters? Maybe we could add
their category to the allowed set?

On Jun 2, 2017 4:02 PM, "Ivan Levkivskyi" <levkivskyi at gmail.com> wrote:

> On 3 June 2017 at 00:55, Guido van Rossum <guido at python.org> wrote:
>
>> [...]
>> So, I am still in favor of the rule "only ASCII in the stdlib".
>>
>
> But what about the other question? Currently, integral, sum, infinity,
> square root etc. Unicode symbols are all prohibited in identifiers.
> Is it possible to allow them?
>
> (Btw IPython just supports normal TeX notations like \pi, \lambda etc, so
> it is very easy to remember)
>
> --
> Ivan
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20170602/02d21204/attachment.html>


More information about the Python-ideas mailing list