Commit 400204ee authored by Guido van Rossum's avatar Guido van Rossum

Remove dependencies on TALCompiler; raise an exception when

insertStructure() is used.
parent fa4aead5
......@@ -91,8 +91,6 @@ import string
import getopt
import cgi
from TALCompiler import TALCompiler
BOOLEAN_HTML_ATTRS = [
# List of Boolean attributes in HTML that should be rendered in
# minimized form (e.g. <img ismap> rather than <img ismap="">)
......@@ -235,7 +233,8 @@ class TALInterpreter:
structure = self.engine.evaluateStructure(expr)
if structure is None:
return
program, macros = TALCompiler(structure)()
raise TALError("insertStructure() not implemented")
program, macros = XXX # not implemented
saveMacros = self.macros
if macros:
self.macros = saveMacros.copy()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment