The most obvious approach, of course:
if oldDict != newDict: print "**Failure to rebuild, new dictionary is different from the old"
This should be as fast as possible since the Python mechanism is used for comparison.
UPDATE: It seems you are not after an βequal,β but something weaker. I think you need to change your question to make it clear what you think is "equivalent."
unwind
source share