pep 8 constants

Benjamin Kaplan benjamin.kaplan at case.edu
Thu Jan 22 14:50:16 CET 2009


On Thu, Jan 22, 2009 at 1:16 AM, Aahz <aahz at pythoncraft.com> wrote:

> In article <mailman.7174.1231915778.3487.python-list at python.org>,
> Brendan Miller <catphive at catphive.net> wrote:
> >
> >PEP 8 doesn't mention anything about using all caps to indicate a
> constant.
>
> Now it does!  See
> http://www.python.org/dev/peps/pep-0008/
>
> Thanks for bringing this up!


Since the constants in the std lib (like math.pi and math.e) no longer
follow PEP 8, should we expect them to change at some point in the future?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090122/d714f283/attachment.html>


More information about the Python-list mailing list