Why pass macros to TALInterpreter?
Thomas Lotze <[email protected]> Thu, 22 Sep 2005 17:42:18 +0200
| Newsgroups | gmane.comp.web.zope.page-templates |
|---|---|
| Message-ID | <[email protected]> |
Hi, I wonder what the macros argument of TALInterpreter.__init__ is for. If I understand the concept of generating and interpreting TAL byte-code programs right, there's no need to pass any byte-code beside the program to a TALInterpreter, and I can't see how the argument is used by the code. Is this something I misunderstand, or could the macros argument be eliminated? If the latter, are there any compelling compatibility reasons against removing it? There are only a few calls to the method in zope.* -- Thomas