Re: PageTemplate.pt_context signature

"Charlie Clark" <[email protected]> Wed, 16 Jan 2008 20:06:05 +0100
Newsgroups gmane.comp.web.zope.page-templates
Organization eGenix.com
Message-ID <[email protected]>
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 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