PyModule_GetDict() can fail, produce fatal errors if this happens on startup.
PyModule_GetDict() can fail, produce fatal errors if this happens on startup.

Klocwork #298-299.

sk-/python2.7-type-annotator,sk-/python2.7-type-annotator,sk-/python2.7-type-annotator