diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-01-25 03:36:26 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-01-25 03:36:26 (GMT) |
commit | d7b5e88e8e40b77813ceb25dc28b87d672538403 (patch) | |
tree | ea8855e8c3d37f837eb3eeb505a6503083d19db1 /Misc | |
parent | 83125775e0a5c5088da0cb62b43e7cfd8a04fdc6 (diff) | |
download | cpython-d7b5e88e8e40b77813ceb25dc28b87d672538403.zip cpython-d7b5e88e8e40b77813ceb25dc28b87d672538403.tar.gz cpython-d7b5e88e8e40b77813ceb25dc28b87d672538403.tar.bz2 |
Reworked random.py so that it no longer depends on, and offers all the
functionality of, whrandom.py. Also closes all the "XXX" todos in
random.py. New frequently-requested functions/methods getstate() and
setstate(). All exported functions are now bound methods of a hidden
instance. Killed all unintended exports. Updated the docs.
FRED: The more I fiddle the docs, the less I understand the exact
intended use of the \var, \code, \method tags. Please review critically.
GUIDO: See email. I updated NEWS as if whrandom were deprecated; I
think it should be.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -1,3 +1,16 @@ +What's New in Python 2.1 alpha 2? +================================= +Core language, builtins, and interpreter + + +Standard library + +- random.py is now self-contained, and offers all the functionality of + the now-deprecated whrandom.py. See the docs for details. random.py + also supports new functions getstate() and setstate(), for saving + and restoring the internal state of all the generators. + + What's New in Python 2.1 alpha 1? ================================= |