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 techtonik
Recipients alex, barry, docs@python, techtonik
Date 2013-11-28.20:00:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
@Alex, have you seen I really like the brevity, and it is the function that does the magic, so it is fully transparent and you don't need to instantiate string.Template every time. I think its awesome.

Do you have some explanations why passing locals() to string.Template is anti-pattern? I understand that passing "all that you have" is not good, but from my past experience with PHP I can't remember any problems that there are more names than I used. It is templating after all - what do you want to protect from?
Date User Action Args
2013-11-28 20:00:36techtoniksetrecipients: + techtonik, barry, alex, docs@python
2013-11-28 20:00:36techtoniksetmessageid: <>
2013-11-28 20:00:36techtoniklinkissue19824 messages
2013-11-28 20:00:36techtonikcreate