id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc
295,[PATCH] Small optimization inTemplate._flatten,Christoph Zwerschke <cito@…>,cmlenz,"I noticed two small issues in the loop in `Template._flatten`:

 1. Is it clear that substream is either a list or a string and not any other kind of sequence? If not, shouldn't be other sequences treated like lists?
 2. In the case that substream is a (unicode) string, it is reassembled by joining all its characters (in [http://genshi.edgewall.org/browser/trunk/genshi/template/base.py?rev=1031#L539 this line]).

The attached patch fixes these problems.",enhancement,closed,minor,0.6,Template processing,devel,fixed,,
