Tim Peters <tim at python.org> added the comment: Yup, I agree sample(set) is a misfeature. ---------- _______________________________________ Python tracker <report at bugs.python.org> <https://bugs.python.org/issue40325> _______________________________________