As I mentioned in the initial review for the patch for this code, using
string.Template <
http://docs.python.org/2/library/string.html#string.Template> is going to
be more compatible (2.4-3.x) and more readable ($foo rather than $(0) or
{0}). While you're at it, since these are exact strings to be written, you
can use sys.stdout.write() (instead print) and then all this code should be
compatible 2.4-3.x.

-- Sean Silva
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to