[Grok-dev] Re: what grok.JSON methods to publish?

Jan-Wijbrand Kolman janwijbrand at gmail.com
Mon Jan 7 10:29:27 EST 2008

Jan-Wijbrand Kolman wrote:
> On Jan 4, 2008 7:21 PM, Jan-Wijbrand Kolman <janwijbrand at gmail.com> wrote:
>> Since I'd like (need!) to have the __call__ bug fixed asap, I'll look
>> into having the __* and the _* methods ignored in REST, XMLRPC and JSON
>> "views".
>> I'll factor this filtering of methods into one function that the
>> subsequent grokkers can use. I'll also take care of filtering out the
>> method for these "view" types that really should be kept internal (like
>> browserDefault() and publishTraverse()).
> I checked in a fix and improved the JSON tests to make sure __*__
> methods (or any other methods with names starting with an '_') are not
> registered anymore as view.

Woops - bad jw: I forgot to update the CHANGES.txt and to backport the 
fix to the 0.11 branch... That's done now.

And this reminds me too, that we might want to quickly do a bugfix 
release for 0.11...


More information about the Grok-dev mailing list