]> granicus.if.org Git - python/commit
A change to sync with pickle.py:
authorBarry Warsaw <barry@python.org>
Thu, 15 Nov 2001 23:45:26 +0000 (23:45 +0000)
committerBarry Warsaw <barry@python.org>
Thu, 15 Nov 2001 23:45:26 +0000 (23:45 +0000)
commit9b481ff3d699a055e9639fd580e515c3748d5dc4
treec43a57198924873731975fc5178ae4173140fd04
parentbf4d959d28eacf5c57afe56abbf463272cef7557
A change to sync with pickle.py:

find_class(): We no longer mask all exceptions[1] by transforming them
into SystemError.  The latter is definitely not the right thing to do,
so we let any exceptions that occur in the PyObject_GetAttr() call to
simply propagate up if they occur.

[1] Note that pickle only masked ImportError, KeyError, and
AttributeError, but cPickle masked all exceptions.
Modules/cPickle.c