diff options
author | Fred Drake <fdrake@acm.org> | 2001-10-18 18:04:18 +0000 |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-10-18 18:04:18 +0000 |
commit | 73006d02374e785c660f15bad0aabcf197d97ce8 (patch) | |
tree | 844d1bd2f69a4890ea70bca54ac9fcb2cad53a03 /Python/frozen.c | |
parent | a5343ccd28245d96feb21d1457802b97a76aa210 (diff) | |
download | cpython-git-73006d02374e785c660f15bad0aabcf197d97ce8.tar.gz |
When weakref proxies are involved in binary & ternary slot operations,
the left-hand operand may not be the proxy in all cases. If it isn't,
we end up doing two things: a) unwrapping something that isn't a
PyWeakReference (later resulting in a core dump) and b) passing a
proxy as the right-hand operand anyway, even though that can't be
handled by the actual handler (maybe eventually causing a core dump).
This is fixed by always unwrapping all the proxies involved before
passing anything to the actual handler.
Diffstat (limited to 'Python/frozen.c')
0 files changed, 0 insertions, 0 deletions