[Grok-dev] Re: Heads up: applyChanges in EditForms changed
Martijn Faassen
faassen at startifact.com
Fri Mar 16 07:59:27 EDT 2007
Philipp von Weitershausen wrote:
> Tim Terlegård wrote:
>> On Thu, Mar 15, 2007 at 02:29:15PM -0400, Philipp von Weitershausen
>> wrote:
>>> - I renamed applyChanges to apply_changes to match our PEP8 fetish
>>
>> If I reuse zope3 stuff in my grok application I will have to mix styles.
>
> You already have to mix because the Python standard library has no
> enforced style. grok as a self-contained project uses PEP8 because
> that's the style the greater Python community has adopted. That's as far
> as it goes.
I certainly don't recall us deciding this, so it isn't that simple. If
we had decided this, I'd expect us to have been more consistent, but
instead we have used cameCasing for methods in places like scan.py,
templatereg.py and grokker.py. Do you propose we change those too?
Regards,
Martijn
More information about the Grok-dev
mailing list