[ZPT] PageTemplate.pt_context signature

Jim Fulton jim at zope.com
Wed Jan 16 14:07:42 EST 2008


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




More information about the ZPT mailing list