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 rhettinger
Recipients BreamoreBoy, barry, mrabarnett, rhettinger, scoder
Date 2010-08-11.22:17:47
SpamBayes Score 1.8427807e-08
Marked as misclassified No
Message-id <1281565069.02.0.58215093271.issue1158231@psf.upfronthosting.co.za>
In-reply-to
Content
FWIW, the $name $$ $(name) convention is used many other contexts and I don't think there is usually support provided to not substitute $$.  Even if there were, there is a usability issue where the final substitution needs to be applied differently to get the effect of escaping.  Since the final step needs to be different anyway, it is no burden to just use the current string.Template and write $(dollar_sign) in-place of $$ and apply that substitution on the final step.

Also, the current API for extending string.Template is already complex.  IMO, it is not a good idea to add more options to something that was supposed to provide a simpler alternative to templating.
History
Date User Action Args
2010-08-11 22:17:49rhettingersetrecipients: + rhettinger, barry, scoder, mrabarnett, BreamoreBoy
2010-08-11 22:17:49rhettingersetmessageid: <1281565069.02.0.58215093271.issue1158231@psf.upfronthosting.co.za>
2010-08-11 22:17:47rhettingerlinkissue1158231 messages
2010-08-11 22:17:47rhettingercreate