Chris Tandiono added the comment:

Hmm. I'm not sure I buy the argument that the new message is less useful 
(wouldn't you like to know the exact values that caused the problem? that's 
what int() does when you provide it garbage). I guess it could be less 
informative, since you have to decide for yourself whether it's too large or 
too small a value.

At any rate, I think that whatever modification(s) you make to the message, it 
shouldn't say "Sample larger than population" when k < 0, because that's just 
plain misleading.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue17388>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to