[ZPT] PageTemplate.pt_context signature

Thomas Lotze thomas at thomas-lotze.de
Wed Jan 16 13:29:09 EST 2008


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?

-- 
Thomas





More information about the ZPT mailing list