diff options
author | Guido van Rossum <guido@python.org> | 1999-06-09 15:23:31 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1999-06-09 15:23:31 (GMT) |
commit | c03158bfc7056ad4ce48484183f0db7259dc9c8b (patch) | |
tree | 803cdd9c667676127cacd504bc9f61b222be06c3 /PC | |
parent | fa71701d46892fe80b1e95279e435533579b3ca7 (diff) | |
download | cpython-c03158bfc7056ad4ce48484183f0db7259dc9c8b.zip cpython-c03158bfc7056ad4ce48484183f0db7259dc9c8b.tar.gz cpython-c03158bfc7056ad4ce48484183f0db7259dc9c8b.tar.bz2 |
Jim Fulton writes:
I've updated cPickle.c to use class exceptions:
Changed pickle error types to classes:
PickleError
PicklingError
UnpickleableError
UnpicklingError
And change the handling of unpickleable objects so that an UnpickleableError
is raised with the unpickleable object as the argument. UnpickleableError
has a reasonable string representation and provides access to the problem
object, which is useful during debugging.
[I'm still waiting for patches to do the same to pickle.py.]
Diffstat (limited to 'PC')
0 files changed, 0 insertions, 0 deletions