My issue with the inheritance behavior is that the documentation states the 
following:

"...assignments outside of blocks in child templates are global..." 
(http://jinja.pocoo.org/docs/tricks/#highlighting-active-menu-items).

But they are not treated as global, because they do not apply to includes. 
This is inconsistent. Either the documentation should be changed to 
describe the true behavior, or the behavior should be changed. I don't see 
a problem with backward compatibility if the behavior is changed to make 
the globals truly global - all you need to do is to have a configuration 
option that is opt-in, with the default being the old behavior. 

Ken.

-- 
You received this message because you are subscribed to the Google Groups 
"pocoo-libs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pocoo-libs.
For more options, visit https://groups.google.com/d/optout.

Reply via email to