• Guido van Rossum's avatar
    Charles Waldman writes: · f13dfe26
    Guido van Rossum authored
    """
    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.
    """
    f13dfe26
test_cpickle.py 1.96 KB