in pagetemplate/pagetemplate.py there is the following code:
self.pt_render(self.pt_getContext(self, None), source=1) That does not match with the interface definition: def pt_getContext(**kw)and that does match with the implementation of pt_getContext() in pagetemplate.py:
def pt_getContext(self, args=(), options=_default_options, **ignored) And the original ZPT implementation of Zope 2 defines: def pt_getContext(self): So my theory is that the pt_getContext() call above is wrong?!Why passing 'self' and why 'None' as non-kw-argument? This makes no sense to me. What is the intention in this case?
Andreas
pgpGwRElEzF6V.pgp
Description: PGP signature
_______________________________________________ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com