Ah, that would be because the regex module was updated, and the binary component from the old version was running with the *.py component from the new version. Mismatch.
Binary/python mismatches like that do not often occur, you can usually go many versions without updating the binary release.