some minor python module debugging.