diff options
author | Fred Drake <fdrake@acm.org> | 2000-08-31 19:04:07 +0000 |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2000-08-31 19:04:07 +0000 |
commit | 1dce7186414f15e60a1889cad53f993933f50553 (patch) | |
tree | 2c737849a256dc919eb726b5706b4af8a2fb1896 /Python/sysmodule.c | |
parent | 90398d14df45ecdba26c5fa934481fc26a258324 (diff) | |
download | cpython-1dce7186414f15e60a1889cad53f993933f50553.tar.gz |
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.
Diffstat (limited to 'Python/sysmodule.c')
0 files changed, 0 insertions, 0 deletions