[Grok-dev] Re: XMLRPC bug

Martijn Faassen faassen at startifact.com
Tue Dec 12 11:49:11 EST 2006

Christian Theune wrote:
> Hi,
> Martijn Faassen wrote:
>> I just noticed that the XMLRPC code is publishing *way* too many
>> methods, including, say, __hash__ and __weakref__ and such. Another
>> candidate for bugfix + test. I'm not going to do it, so one of the other
>> grok contributors will have to contribute. Hint, hint. :)
> Hmm. I was trying to write a test to prove that behaviour. In our
> existing ftest this doesn't happen. E.g:
>    >>> server.mammoth.__hash__()
> Doesn't give me anything but a 404 (as expected).
> Do you have any other example for me?

Just to send the reply on-list:

It's interesting that the views don't seem to get exposed in the 
browser. It does appear from the code that no special care is taken to 
skip __foo__ functions, so views seem to be registered for them.



More information about the Grok-dev mailing list