Fix keyword handling
Use PyDict_Size instead of PyTuple_GET_SIZE for a keywords object --- the object is a dictionary. Fixes crash seen with py3.
Use PyDict_Size instead of PyTuple_GET_SIZE for a keywords object --- the object is a dictionary. Fixes crash seen with py3.