switch ob_type to Py_TYPE macro
python3 support
migrate python2 to python3
new line on end of file