Backport of weakref.WeakSet and tests from Python 3.
6 files changed