Always return 'int' from __Pyx_PyUnicode_KIND() (GH-4059)
Even though the Python documentation states, that PyUnicode_KIND will return an int, it actually returns a value of the underlying type of the PyUnicode_Kind enum. This could be e.g. an unsigned int which can cause warnings about signed/unsigned comparisons.
Showing
Please register or sign in to comment