The _hash method of the Set ABC uses sys.maxsize but doesn't import sys. The attached patch (against trunk) imports sys and adds a test to show the problem. There are also still some other _abcoll.py cleanups waiting in issue 2226.
One could also make a case for simply removing the _hash method since it doesn't look like anything is using it? And anything that was using it would already be broken?