Based on discussion with Martin and Thomas on python-checkins add a Py_SAFE_DOWNCAST() to make the code correct.
Based on discussion with Martin and Thomas on python-checkins
add a Py_SAFE_DOWNCAST() to make the code correct.

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