[Python-ideas] Should Python have user-defined constants?

Kirill Balunov kirillbalunov at gmail.com
Tue Nov 21 08:22:09 EST 2017


>
> It is not set in stone, but it looks like most people like Final (although
> the initial proposal was Const, see https://github.com/python/
> mypy/issues/1214)
>

Ivan, you mean this thread "Can't index named tuple by defined constant"
<https://github.com/python/mypy/issues/3078>?

With kind regards, -gdg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20171121/a8442b72/attachment-0001.html>


More information about the Python-ideas mailing list