[Zope] Re: Zope-Documentation: Args

Florent Guillaume fg at nuxeo.com
Sun Nov 13 10:40:25 EST 2005


On 13 Nov 2005, at 16:31, Tino Wildenhain wrote:
>> Well, except that in this case the docstring for  
>> manage_changeProperties
>> is badly wrong, if you pass a mapping as first argument, it will  
>> think
>> it's a request and render a page you'll never use as a result, which
>> slows it down a lot.
>>
>> The proper way to call manage_changeProperties is:
>>    manage_changeProperties(foo=6, bar='blah')
>> or
>>    manage_changeProperties(**somemapping)
>>
>>
>> I've been meaning to fix Zope for years but...
>>
>
> Well, these are easy fixes either in the docs
> (or docstrings) or in the API. Maybe if filed
> as bug some starter might pick them up on next
> bugday?

There's already one actually: http://www.zope.org/Collectors/Zope/878
It's really the code that should be changed, the patch in the  
collector (modernized a bit) would be enough.

Florent

-- 
Florent Guillaume, Nuxeo (Paris, France)   Director of R&D
+33 1 40 33 71 59   http://nuxeo.com   fg at nuxeo.com





More information about the Zope mailing list