-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dieter Maurer wrote:
Tres Seaver wrote at 2005-10-11 08:58 -0400:
... 'call_with_ns' should be invoked only for objects with either a '__render_with_namespace__' attribute (PythonScripts fit here) or those with 'isDocTemp' true. Its only real purpose is to set up the namespace before calling a DTMLMethod; I don't even understand why PythonScripts have such a method.
Probably, because they can bind the DTML namespace...
I knew that they *could* bind it; it just don't understand why anyone would *want* that feature, given the availability of the other, non-ambiguous bindings. I would argue that it is a misfeature, especially given the bug which it surfaces in 'render' / 'call_with_ns'. Tres. - -- =================================================================== Tres Seaver +1 202-558-7113 tseaver@palladion.com Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDUppZ+gerLs4ltQ4RAhTCAJ4hxAKWvo9BCdDEjqMynsZAu+pHCACfSvoP nXcFWDzofq01ofVW8BpR4UI= =nIvs -----END PGP SIGNATURE-----