diff options
author | R. Tyler Ballance <tyler@slide.com> | 2009-05-12 20:04:16 -0700 |
---|---|---|
committer | R. Tyler Ballance <tyler@slide.com> | 2009-05-12 20:04:16 -0700 |
commit | 9d0b6662a2e5af8ee7e87273909a6e3c3ab22f9b (patch) | |
tree | a04a4e745962129dab564282463ebdb51d857121 /CHANGES | |
parent | 8982ecd6ceb13026b2250ebad26da6d9b5fa1d3c (diff) | |
download | python-cheetah-9d0b6662a2e5af8ee7e87273909a6e3c3ab22f9b.tar.gz |
Add the prioritizeSearchListOverSelf compilerSetting to help with issue #11
When instantiating a Template class, one of the keyword arguments possible is "searchList",
if you pass "searchList={'foo' : 'bar'}" into the Template, the searchList that's looked
over by the NameMapper during execution will look something like this:
[{}, <Template object at 0xdeadbeef>, {'foo' : 'bar'}]
Which can result in some collisions if you pass a key into the constructor that conflicts
with a Template member name, with using prioritizeSearchListOverSelf=True, the searchList
the NameMapper will look over will look instead like this:
[{'foo' : 'bar'}, {}, <Template object at 0xdeadbeef>]
Signed-off-by: R. Tyler Ballance <tyler@slide.com>
Diffstat (limited to 'CHANGES')
0 files changed, 0 insertions, 0 deletions