SIGN IN SIGN UP

Issue #16453: Fix equality testing of dead weakref objects.

Also add tests for ordering and hashing.
A
Antoine Pitrou committed
f6a50cfa077ced55d39279dd908289a6f39f9f19