[issue18297] In random.sample() correct the ValueError message for negative k

2013-06-25 Thread py.user
py.user added the comment: it was rejected by Raymond Hettinger because the proposed message wasn't informative -- ___ Python tracker ___ ___

[issue18297] In random.sample() correct the ValueError message for negative k

2013-06-25 Thread Mark Dickinson
Changes by Mark Dickinson : -- resolution: -> duplicate status: open -> closed superseder: -> Providing invalid value to random.sample can result in incorrect error message ___ Python tracker ___

[issue18297] In random.sample() correct the ValueError message for negative k

2013-06-25 Thread Mark Dickinson
Mark Dickinson added the comment: This has been proposed and rejected before: see issue #17388. -- ___ Python tracker ___ ___ Python-

[issue18297] In random.sample() correct the ValueError message for negative k

2013-06-25 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- title: In range.sample() correct the ValueError message for negative k -> In random.sample() correct the ValueError message for negative k ___ Python tracker __