[Python-ideas] AMEND PEP-8 TO DISCOURAGE ALL CAPS
Mike Miller
python-ideas at mgmiller.net
Sat Jan 5 13:21:41 EST 2019
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
More information about the Python-ideas
mailing list