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
Date 2003-10-03.02:45:09
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=80475

Here is a patch for Py2.4 that:
* implements getrandbits(k) in C
* modifies randrange() to use getrandbits() when available
* modified randrange() to warn for large ranges whenever 
getrandbits() is not available
* creates a BaseRandom class for generator subclassing

A separate patch for Py2.3.3 will be loaded that extends 
randrange() for only the MersenneTwister and makes no API 
changes or assumptions about other generators.
History
Date User Action Args
2007-08-23 14:17:09adminlinkissue812202 messages
2007-08-23 14:17:09admincreate