9 Mar
2009
9 Mar
'09
12:20 p.m.
I've added a patch to http://bugs.python.org/issue5237 that implements the basic '{}' functionality in str.format. Read the note in the issue; this patch is not ready for production. But it will let you play with the feature. I like it, mainly because it's so much quicker to type '{}' than '{0}' because you don't have to shift-unshift-shift (on my US English keyboard). If we decide to add this feature I hope I can finish it before PyCon, or worst case finish it during the sprints.