• Robert Bradshaw's avatar
    Non-int conversion to Py_hash_t. · 100a53ff
    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.
    100a53ff
ModuleSetupCode.c 50.5 KB