• Guido van Rossum's avatar
    Charles Waldman writes: · 84219682
    Guido van Rossum yazdı
    """
    In the course of debugging this I also saw that cPickle is
    inconsistent with pickle - if you attempt a pickle.load or pickle.dump
    on a closed file, you get a ValueError, whereas the corresponding
    cPickle operations give an IOError.  Since cPickle is advertised as
    being compatible with pickle, I changed these exceptions to match.
    """
    84219682
test_cpickle.py 1.96 KB