Raymond Hettinger added the comment: I would rather revise the existing message to say that it cannot be negative or larger that population. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue28475> _______________________________________