[Zope-CMF] Re: [dev] CMFSetup: proposal for improving handlers

Dieter Maurer dieter at handshake.de
Sun Dec 12 17:23:00 EST 2004

yuppie wrote at 2004-12-11 11:46 +0100:
>Dieter Maurer wrote:
>> yuppie wrote at 2004-12-10 15:25 +0100:
>>>_KEY: If specified, that key is used in the resulting dict instead of 
>>>the subnode/attribute name. If None, the value of a single 
>>>subnode/attribute is returned instead of the dict.
>> Why do you want to use such strange spelling? "_KEY" rather than "key"?
>> Is there any danger for name conflicts?
>Well. It doesn't look very strange to me: The leading underscore 
>signalizes "internal use", uppercase a constant.
>But I'll change it to "KEY" because "internal use" is not really true.

Are these keys more "constant" than usual dictionary keys?
Are all your dictionary keys spelled in all capital letters?


More information about the Zope-CMF mailing list