• Jason Madden's avatar
    Use Python objects instead of C long for Semaphore._multithreaded · a4a55361
    Jason Madden authored
    Because thread.get_ident() returns types of different signedness on Py2/Py3,
    and some, possibly 32-bit ILP32, Py3 systems return values that won't fit in a long.
    
    Cython conditional compilation doesnt work because we can only publish one source distribution.
    
    Fixes #1733
    a4a55361
1733.bugfix 196 Bytes