commit | 84219682fbfb1aff829ed2d3f0bad42c43fc969c | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Fri Apr 21 20:49:58 2000 +0000 |
committer | Guido van Rossum <guido@python.org> | Fri Apr 21 20:49:58 2000 +0000 |
tree | 1baf980b12e478869ed18814961a1fafe303ad34 | |
parent | 83addc7a0f7371ccb28c5fd3b090556b505d8a69 [diff] |
Charles Waldman writes: """ 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. """