That's me, cleaning up the symbolstore.py patch one little scrap of python at a time.
Today's lesson was a brief introduction to String Interpolation.
In the bug, Ted had mentioned using string interpolation as one of the ways I could shrink down how many times I was writing to file. There are a couple of ways to do this, and apparently the best way, when there is only one variable to replace, is to do %s in the string and then a % variableName at the end of the string. Once I had done this however, 'make buidsymbols' was complaining that a float argument was required.
As it turns out, there are many places in the stream I am writing where % is followed by another character, and the first is a %f...so it was never getting to my %s way down the line. This is because Source Server does string interpolation as well and so I guess that means that I can't use the python string interpolation after all.
Unless someone has dealt with this before and has any brilliant ideas to share.
I've spoken with Ted on IRC and he will be looking at my revisions this week when ff3 beta freezes (man, they must be pulling out hair out in california) and so I'm looking forward to taking the next step. We spoke briefly tonight about the pdbstr.exe replacement. I wasn't sure what it should look like. Does it have to be a windows binary? Apparently, yes. That means some C++. Woot.