Re: PageTemplate.pt_context signature

Jim Fulton <[email protected]> Wed, 16 Jan 2008 14:07:42 -0500
Newsgroups gmane.comp.web.zope.page-templates
Message-ID <[email protected]>
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 context returned by  
> this
> method, just like the specified args and options parameters. This is
> actually described as a possible reason for subclassing in readme.txt.
>
> What am I missing?


Which implementation of page templates are you referring to?

Please mention a specific module name.

Jim

--
Jim Fulton
Zope Corporation