Mark Dickinson <dicki...@gmail.com> added the comment:

Just to illustrate, here's a patch that adds a method Random._smallrandbelow, 
based on the algorithm I described above.

----------
Added file: http://bugs.python.org/file17755/_smallrandbelow.diff

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

Reply via email to