[Zope-dev] Coding style clarifications
Christian Theune
ct at gocept.com
Thu Feb 19 04:47:25 EST 2009
Hi,
while gathering, cleaning and consolidating the various statements that
float around about the coding style for Zope 3, I found a couple of
issues that I'd like to get clarification for.
What I found is currently gathered at
http://svn.zope.org/zope3docs/source/codingstyle/python-style.rst?rev=96729&view=auto
Which attribute naming is current?
==================================
Do we use under_scores or mixedCaseNames?
I think I remember that we decided to follow PEP 8 for new code and
invoke the "local consistentency" rule on old code. Is that correct?
Global variable names
=====================
I don't understand that rule. I kept it around because someone might be
able to explain it more in-depth and whether it still applies.
Import ordering
===============
Jim proposed an alternative rule for ordering imports. Is this official?
(My vote is +1 on it)
Cheers,
Christian
--
Christian Theune · ct at gocept.com
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 7 · fax +49 345 1229889 1
Zope and Plone consulting and development
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://mail.zope.org/pipermail/zope-dev/attachments/20090219/8e6d6016/attachment-0001.bin
More information about the Zope-Dev
mailing list