• Tim Peters's avatar
    test_pickle works on sizeof(long)==8 boxes again. · 44714007
    Tim Peters yazdı
    pickle.py
        The code implicitly assumed that all ints fit in 4 bytes, causing all
        sorts of mischief (from nonsense results to corrupted pickles).
        Repaired that.
    marshal.c
        The int marshaling code assumed that right shifts of signed longs
        sign-extend.  Repaired that.
    44714007
pickle.py 25.9 KB