This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author barry
Recipients barry, eric.araujo, georg.brandl, nitupho, rhettinger
Date 2011-11-07.19:21:06
SpamBayes Score 9.980213e-06
Marked as misclassified No
Message-id <1320693667.3.0.523018280579.issue13173@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2011-11-07 19:21:07barrysetrecipients: + barry, georg.brandl, rhettinger, eric.araujo, nitupho
2011-11-07 19:21:07barrysetmessageid: <1320693667.3.0.523018280579.issue13173@psf.upfronthosting.co.za>
2011-11-07 19:21:06barrylinkissue13173 messages
2011-11-07 19:21:06barrycreate