Mercurial > genshi > mirror
comparison doc/templates.txt @ 703:af57b12e3dd2 experimental-match-fastpaths
merge in trunk up through r818 - fundamentally changed the way MatchSet works, but actually is more consistent now
author | aflett |
---|---|
date | Mon, 31 Mar 2008 22:47:50 +0000 |
parents | 717bbfe5bbdc |
children | 70a172ab5705 967236817c6a |
comparison
equal
deleted
inserted
replaced
701:52a597419c0d | 703:af57b12e3dd2 |
---|---|
268 a syntax error when a ``<?python ?>`` processing instruction is encountered. | 268 a syntax error when a ``<?python ?>`` processing instruction is encountered. |
269 But please note that disallowing code blocks in templates does not turn Genshi | 269 But please note that disallowing code blocks in templates does not turn Genshi |
270 into a sandboxable template engine; there are sufficient ways to do harm even | 270 into a sandboxable template engine; there are sufficient ways to do harm even |
271 using plain expressions. | 271 using plain expressions. |
272 | 272 |
273 .. warning:: Unfortunately, code blocks are severely limited when running | |
274 under Python 2.3: For example, it is not possible to access | |
275 variables defined in outer scopes. If you plan to use code blocks | |
276 extensively, it is strongly recommended that you run Python 2.4 | |
277 or later. | |
278 | |
273 | 279 |
274 .. _`error handling`: | 280 .. _`error handling`: |
275 | 281 |
276 Error Handling | 282 Error Handling |
277 ============== | 283 ============== |