On 1/5/19 12:34 AM, Ivan Levkivskyi wrote:
> There is. Mypy supports final names, final methods and whatnot
> https://mypy.readthedocs.io/en/latest/final_attrs.html


Believe this^^ is the best answer, unfortunately buried.

Use typing hints for constants and tools that support them, and all-caps is no longer needed.

An additional sentence that mentions this as an alternative in PEP8 sounds 
useful.

-Mike
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to