[ZPT] PageTemplate.pt_context signature
dieter at handshake.de
Thu Jan 17 18:10:25 EST 2008
Thomas Lotze wrote at 2008-1-16 19:29 +0100:
>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.
Using signatures of the form "(...*args, **kw)" is often
necessary to provide for "super" support from derived classes.
This is detailed in a document about "super considered harmfull".
More information about the ZPT