[ZPT] PageTemplate.pt_context signature

Charlie Clark charlie at egenix.com
Wed Jan 16 14:06:05 EST 2008


Am 16.01.2008, 19:29 Uhr, schrieb Thomas Lotze <thomas at thomas-lotze.de>:

> 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.

Not sure what you mean. Can you provide an example?

Charlie

-- 
Charlie Clark
eGenix.com

Professional Python Services directly from the Source
>>> Python/Zope Consulting and Support ...        http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
________________________________________________________________________

:::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,MacOSX for free ! ::::

     eGenix.com Software, Skills and Services GmbH  Pastor-Loeh-Str.48
     D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
            Registered at Amtsgericht Duesseldorf: HRB 46611


More information about the ZPT mailing list