Re: [ZPT] PageTemplate.pt_context signature

2008-01-17 Thread Dieter Maurer
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

[ZPT] PageTemplate.pt_context signature

2008-01-16 Thread Thomas Lotze
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

Re: [ZPT] PageTemplate.pt_context signature

2008-01-16 Thread Charlie Clark
Am 16.01.2008, 19:29 Uhr, schrieb Thomas Lotze [EMAIL PROTECTED]: 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