summaryrefslogtreecommitdiffstats
path: root/install-sh
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2004-08-19 21:32:06 (GMT)
committerRaymond Hettinger <python@rcn.com>2004-08-19 21:32:06 (GMT)
commit61146790992e0a00b76a6bf6ecc9e53289a1ecd7 (patch)
tree20852192a2cc52157dd0ea92f3507b958fa6a9cd /install-sh
parent3a3817f506801e4a1e62d8cd52e1c8aa0feb2993 (diff)
downloadcpython-61146790992e0a00b76a6bf6ecc9e53289a1ecd7.zip
cpython-61146790992e0a00b76a6bf6ecc9e53289a1ecd7.tar.gz
cpython-61146790992e0a00b76a6bf6ecc9e53289a1ecd7.tar.bz2
SF bug #1012315: weakref.WeakValueDictionary should override .has_key()
* Check the found object for a None value during a contains/has_key lookup. Perhaps it will help the OP who is likely suffering from an occassional GC or threading object deletion after self.data is checked. * Complete the previous patch by removing the unnecessary indirection for weak dict iterators. Makes the code cleaner and more readable.
Diffstat (limited to 'install-sh')
0 files changed, 0 insertions, 0 deletions