Mercurial > genshi > mirror
comparison doc/upgrade.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 | 37ff75bb4301 |
children | 5420fe9d99a9 d143dd73789b |
comparison
equal
deleted
inserted
replaced
701:52a597419c0d | 703:af57b12e3dd2 |
---|---|
27 attributes or dictionary keys that don't exist. If your templates rely | 27 attributes or dictionary keys that don't exist. If your templates rely |
28 on the old lenient behavior, you can configure Genshi to use that | 28 on the old lenient behavior, you can configure Genshi to use that |
29 instead. See the documentation for details on how to do that. But be | 29 instead. See the documentation for details on how to do that. But be |
30 warned that lenient error handling may be removed completely in a | 30 warned that lenient error handling may be removed completely in a |
31 future release. | 31 future release. |
32 | |
33 There has also been a subtle change to how ``py:match`` templates are | |
34 processed: in previous versions, all match templates would be applied | |
35 to the content generated by the matching template, and only the | |
36 matching template itself was applied recursively to the original | |
37 content. This behavior resulted in problems with many kinds of | |
38 recursive matching, and hence was changed for 0.5: now, all match | |
39 templates declared before the matching template are applied to the | |
40 original content, and match templates declared after the matching | |
41 template are applied to the generated content. This change should not | |
42 have any effect on most applications, but you may want to check your | |
43 use of match templates to make sure. | |
32 | 44 |
33 | 45 |
34 Upgrading from Genshi 0.3.x to 0.4.x | 46 Upgrading from Genshi 0.3.x to 0.4.x |
35 ------------------------------------ | 47 ------------------------------------ |
36 | 48 |