Message147252
When I need defaults, I make them part of the mapping that gets passed into .substitute() and .safe_substitute(). It doesn't feel to me like it's necessary to attach them to the Template instance. Also, couldn't you just subclass string.Template if you wanted defaults? OTOH, since it can be done in a backward compatible way, I guess I'm -0 on the change. |
|
Date |
User |
Action |
Args |
2011-11-07 19:21:07 | barry | set | recipients:
+ barry, georg.brandl, rhettinger, eric.araujo, nitupho |
2011-11-07 19:21:07 | barry | set | messageid: <1320693667.3.0.523018280579.issue13173@psf.upfronthosting.co.za> |
2011-11-07 19:21:06 | barry | link | issue13173 messages |
2011-11-07 19:21:06 | barry | create | |
|