Raymond Hettinger <raymond.hettin...@gmail.com> added the comment:
I've had misgivings about this and will revert the change for Python 3.10. Usually, it is safe for sets to implement whatever has been battle-tested with dicts, but sets should aspire to do better for alternating deletions and re-additions of the same element, even if that isn't a common case. ---------- nosy: +tim.peters resolution: not a bug -> status: closed -> open versions: +Python 3.10 -Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue43198> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com