[Checkins] SVN: z3c.pt/branches/ulif-chameleon-1.1-compat/src/z3c/pt/pagetemplate.py Add notice about possible but certainly incorrect solution.

Uli Fouquet uli at gnufix.de
Fri Feb 26 08:41:36 EST 2010


Log message for revision 109465:
  Add notice about possible but certainly incorrect solution.
  

Changed:
  U   z3c.pt/branches/ulif-chameleon-1.1-compat/src/z3c/pt/pagetemplate.py

-=-
Modified: z3c.pt/branches/ulif-chameleon-1.1-compat/src/z3c/pt/pagetemplate.py
===================================================================
--- z3c.pt/branches/ulif-chameleon-1.1-compat/src/z3c/pt/pagetemplate.py	2010-02-26 13:26:24 UTC (rev 109464)
+++ z3c.pt/branches/ulif-chameleon-1.1-compat/src/z3c/pt/pagetemplate.py	2010-02-26 13:41:35 UTC (rev 109465)
@@ -88,6 +88,13 @@
             suite = codegen.Suite(source)
         code = compiler.compile(
             suite.source, 'dynamic_path_expression.py', 'exec')
+        
+        ## XXX: The following code (making suites above senseless)
+        ##      lets tests pass again but skips the AST handling done
+        ##      in Chameleon.core.codegen.Suite.
+        ##
+        ## code = compiler.compile(
+        ##     source, 'dynamic_path_expression.py', 'exec')
         _expr_cache[code_cache_key] = code
 
     # execute code and return evaluation



More information about the checkins mailing list