Re: PageTemplate.pt_context signature

"Dieter Maurer" <[email protected]> Fri, 18 Jan 2008 00:10:25 +0100
Newsgroups gmane.comp.web.zope.page-templates
Message-ID <[email protected]>
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".



-- 
Dieter