• Max Bachmann's avatar
    Always return 'int' from __Pyx_PyUnicode_KIND() (GH-4059) · ff1f703b
    Max Bachmann authored
    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.
    ff1f703b
ModuleSetupCode.c 60.4 KB