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

Ivan Levkivskyi levkivskyi at gmail.com
Tue Nov 21 08:24:17 EST 2017


On 21 November 2017 at 14:22, Kirill Balunov <kirillbalunov at gmail.com>
wrote:

> 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>?
>

Discussions about Final/Const happened in several threads on both typing
and mypy trackers, I just don't remember them all.

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


More information about the Python-ideas mailing list