commit | 3bae7ddf8e63889b185235f85a6695bc05d59059 | [log] [tgz] |
---|---|---|
author | Fred Drake <fdrake@acm.org> | Tue Nov 06 16:36:53 2001 +0000 |
committer | Fred Drake <fdrake@acm.org> | Tue Nov 06 16:36:53 2001 +0000 |
tree | 89fa20dc9987888ae333311e2b37c52a826d1b36 | |
parent | 5cc6d6e58eee602f24e60c1737e3f059986e102f [diff] |
WeakKeyDictionary.has_key(): If the key being tested is not weakly referencable (weakref.ref() raises TypeError), return 0 instead of propogating the TypeError. This closes SF bug #478536; bugfix candidate.