[Python-Dev] Adding numbering to PEP 20, the Zen of Python

Ben Hoyt benhoyt at gmail.com
Fri Sep 19 03:30:17 CEST 2014


I was emailing someone today about implementing something (for PEP
471, as it happens) and wanted to link to the Zen of Python [1] and
note a particular clause (in this case "If the implementation is hard
to explain, it's a bad idea."). However, there are no clause numbers,
so you can't refer to specific phrases.

I know it's a short enough document that it probably doesn't matter.
And maybe numbering them would make it less Zen. Would be handy in
code reviews and the like, for example: "Not very Pythonic. See PEP 20
point 5." Is it just my pedantic self, or have others wanted to do
this too?

[1] http://legacy.python.org/dev/peps/pep-0020/

-Ben


More information about the Python-Dev mailing list