Robert Schuppenies <robert.schuppen...@gmail.com> added the comment:
Sounds right to me. Here is another patch plus tests. Going through the other tests, I adapted two more tests to actually test WeakSet. Also, I found the following one and think it is a copy&paste from test_set which is not useful for test_weakset. Should it be removed (as currently done in the patch)? def test_set_literal(self): s = set([1,2,3]) t = {1,2,3} self.assertEqual(s, t) ---------- Added file: http://bugs.python.org/file13957/_weakrefset.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5964> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com