SIGN IN SIGN UP

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.
F
Fred Drake committed
73006d02374e785c660f15bad0aabcf197d97ce8
Parent: a5343cc