Use PyString_Size to determine the string size.