<div dir="ltr"><div dir="ltr"><div dir="ltr">On Sat, 5 Jan 2019 at 02:46, David Mertz <<a href="mailto:mertz@gnosis.cx">mertz@gnosis.cx</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div dir="auto">Like everyone other than Abe in this thread, I find judicious use of CONSTANTS to be highly readable and useful.<br></div><div dir="auto"><br></div><div dir="auto">Yes, there is a little wiggle room about just how constant a constant has to be since Python doesn't have a straightforward way to create real constants. Very rarely I might change a value named in all caps. But the distinction between a value intended as fixed and one I merely probably won't change is worth marking typographically.... Especially since there's no actual Python semantics enforcing it.</div></div></blockquote><div><br></div><div>There is. Mypy supports final names, final methods and whatnot <a href="https://mypy.readthedocs.io/en/latest/final_attrs.html">https://mypy.readthedocs.io/en/latest/final_attrs.html</a> <br></div><div><br></div><div>Anyway I don't see a problem in using CAPS for constants, finally it is just a style guide, Python will work even with</div><div><br></div><div>class sTYLISH_oNE:</div><div>    ...</div><div><br></div><div>--</div><div>Ivan</div><div><br></div></div></div></div>