[Python-ideas] π = math.pi

Ivan Levkivskyi levkivskyi at gmail.com
Fri Jun 2 19:56:49 EDT 2017


On 3 June 2017 at 01:29, Guido van Rossum <guido at python.org> wrote:

> Are those characters not considered Unicode letters? Maybe we could add
> their category to the allowed set?
>
>
Yes, they are not considered letters, they are in category Sm.
Unfortunately, +, -, |, and other symbol that clearly should not be in
identifiers are also in this category,
so we cannot add the whole category. It is possible to include particular
ranges, but there should be a discussion
about what exactly can/should be included.

--
Ivan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20170603/85a305a6/attachment.html>


More information about the Python-ideas mailing list