commit | c88b99ce060e37a9098708483b7e3c8b5db87fbd | [log] [tgz] |
---|---|---|
author | Fred Drake <fdrake@acm.org> | Thu Aug 31 19:04:07 2000 +0000 |
committer | Fred Drake <fdrake@acm.org> | Thu Aug 31 19:04:07 2000 +0000 |
tree | 96f8e7021566516eab50215c4f549a5bb7d7f091 | |
parent | a3895c0d291c795ed9e36fd86118d6679f1d917b [diff] |
Clear errors raised by PyObject_Compare() without losing any existing exception context. This avoids improperly propogating errors raised by a user-defined __cmp__() by a subsequent lookup operation. This patch does *not* include the performance enhancement patch for dictionaries with string keys only; that will be checked in separately. This closes SourceForge patch #101277 and bug #112558.