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 georg.brandl
Recipients eric.araujo, georg.brandl, michael.driscoll, orsenthil, python-dev, rhettinger, sandro.tosi, smichr, tim.peters
Date 2013-09-16.01:44:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1379295842.35.0.533340623077.issue14927@psf.upfronthosting.co.za>
In-reply-to
Content
I wouldn't add info about the optimization in the docstring.

In _randbelow() I think you missed a call to int().
For _randbelow(), all arguments after "int" are non-public ones.
(_randbelow as a private function wouldn't necessarily need the change, but it's good for consistency.)

Final decision should be made by Raymond.
History
Date User Action Args
2013-09-16 01:44:02georg.brandlsetrecipients: + georg.brandl, tim.peters, rhettinger, smichr, orsenthil, eric.araujo, sandro.tosi, python-dev, michael.driscoll
2013-09-16 01:44:02georg.brandlsetmessageid: <1379295842.35.0.533340623077.issue14927@psf.upfronthosting.co.za>
2013-09-16 01:44:02georg.brandllinkissue14927 messages
2013-09-16 01:44:02georg.brandlcreate