This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients rhettinger, selik, serhiy.storchaka, wolma
Date 2018-04-02.22:43:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1522708986.04.0.467229070634.issue33203@psf.upfronthosting.co.za>
In-reply-to
Content
FWIW, it was intended that the error checking (when required) occur at higher levels in the API rather than in the inner-most non-public utility function.  Some calls to _randbelow cannot be zero or negative, so they shouldn't have to pay an penalty for the extra error check.  A comment to this effect should be added but I don't think the design should be changed.
History
Date User Action Args
2018-04-02 22:43:06rhettingersetrecipients: + rhettinger, serhiy.storchaka, wolma, selik
2018-04-02 22:43:06rhettingersetmessageid: <1522708986.04.0.467229070634.issue33203@psf.upfronthosting.co.za>
2018-04-02 22:43:06rhettingerlinkissue33203 messages
2018-04-02 22:43:05rhettingercreate