[Python-ideas] π = math.pi

Juancarlo Añez apalala at gmail.com
Fri Jun 2 20:38:38 EDT 2017


On Fri, Jun 2, 2017 at 7:29 PM, 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?

Speaking of which, it would be convenient to be able to build strings with
non-ascii characters using their Unicode codepoint name:

greek_pi = "\u:greek_small_letter_pi"

Or something like that.
​
-- 
Juancarlo *Añez*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20170602/3950af78/attachment.html>


More information about the Python-ideas mailing list