[ZPT] PageTemplate.pt_context signature

2008-01-16 Thread Thomas Lotze
Is there some reason for PageTemplate.pt_context to accept arbitrary keyword arguments, but ignore them? It seems to me that it would be cleaner to not accept those arguments in the first place. Alternatively, they might just be added to the context returned by this method, just like the specified

Re: [ZPT] PageTemplate.pt_context signature

2008-01-16 Thread Charlie Clark
Am 16.01.2008, 19:29 Uhr, schrieb Thomas Lotze <[EMAIL PROTECTED]>: Is there some reason for PageTemplate.pt_context to accept arbitrary keyword arguments, but ignore them? It seems to me that it would be cleaner to not accept those arguments in the first place. Alternatively, they might just

Re: [ZPT] PageTemplate.pt_context signature

2008-01-16 Thread Jim Fulton
On Jan 16, 2008, at 1:29 PM, Thomas Lotze wrote: Is there some reason for PageTemplate.pt_context to accept arbitrary keyword arguments, but ignore them? It seems to me that it would be cleaner to not accept those arguments in the first place. Alternatively, they might just be added to the con

[ZPT] Re: PageTemplate.pt_context signature

2008-01-16 Thread Thomas Lotze
Jim Fulton wrote: > Which implementation of page templates are you referring to? The most canonical one I can think of, so that's probably why I didn't care to mention it. > Please mention a specific module name. The class I'm talking about is zope.pagetemplate.pagetemplate.PageTemplate. -- T