Re: coding conventions, PEP vs. practice

2005-01-04 Thread Terry Reedy
"Robert Kern" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Note the first sentence of the PEP: "This document gives coding > conventions for the Python code comprising the standard library for the > main Python distribution." Even that should say "from now on". Some library c

Re: coding conventions, PEP vs. practice

2005-01-04 Thread Skip Montanaro
Roman> These frameworks are using "mixedCase" but PEP8 suggests Roman> "lower_case_with_underscores" except "in contexts where that's Roman> already the prevailing style" which is not the case here IMHO. Roman> So, are there any specific reasons for breaking the rules here? Sinc

Re: coding conventions, PEP vs. practice

2005-01-04 Thread Robert Kern
Roman Roelofsen wrote: Dear python-list, while looking for some coding conventions for python programs, i found the PEP8 at http://www.python.org/peps/pep-0008.html. It defines the rules very well and leaves no space for interpretations. I guess thats a good thing :-) But when i started playing

Re: coding conventions, PEP vs. practice

2005-01-04 Thread Roy Smith
Roman Roelofsen <[EMAIL PROTECTED]> wrote: > These frameworks are using "mixedCase" but PEP8 suggests > "lower_case_with_underscores" except "in contexts where that's already the > prevailing style" which is not the case here IMHO. > > So, are there any specific reasons for breaking the rules he

coding conventions, PEP vs. practice

2005-01-04 Thread Roman Roelofsen
Dear python-list, while looking for some coding conventions for python programs, i found the PEP8 at http://www.python.org/peps/pep-0008.html. It defines the rules very well and leaves no space for interpretations. I guess thats a good thing :-) But when i started playing a bit with python and