That sounds like a solution. I think the core of the question is as follows; if I was to call the dict() function for each line, thus creating a dictionary, and then rename it to dict['name'], will there be a namespace collision on the next loop when dict() is called again? Obviously the first dictionary will still be there, as it still has a refcount of 1; but if it gets overwritten, will the object that the new name refers to be overwritten too?
-- http://mail.python.org/mailman/listinfo/python-list