• Robert Bradshaw's avatar
    Non-int conversion to Py_hash_t. · 28251032
    Robert Bradshaw authored
    Still requires the more conservative __index__ here rather than a possibly
    truncating __int__ because this is used in a context where floating point
    values should probably be treated specially.
    
    This fixes Github issue #2752.
    28251032
TypeConversion.c 34.8 KB