REPOST: Re: whrandom (was Re: Python 1.5.x vs Python 2.x.x)

Aahz Maruch aahz at
Sat Dec 29 17:26:25 CET 2001

In article <a0kq1q$r88$1 at>, Aahz Maruch <aahz at> wrote:
>In article <a0kor6$2o7u$2 at>,
>James T. Dennis <jadestar at> wrote:
>> While that topic has come up: I find whrandom to be an unsightly
>> name for accessing a set of functions which is so commonly accessed
>> by novice students.  What was wrong with must calling it rand or 
>> random?  Is it pure pedantry?
>You're not supposed to use whrandom, although unfortunately the docs
>have been less clear about this historically than they should have been.
>The specific functionality of random is located in whrandom, to provide
>an abstraction layer in case some better pseudo-random algorithm comes

Uh, never mind, that's only half-right.  You never were supposed to use
whrandom, but the functionality has now been moved to random and the
whrandom module is deprecated.
                      --- Aahz  <*>  (Copyright 2001 by aahz at

Hugs and backrubs -- I break Rule 6       
Androgynous poly kinky vanilla queer het Pythonista   

Tenth Virtual Anniversary: 2 days and counting

========= WAS CANCELLED BY =======:
From: aahz at (Aahz Maruch)
Newsgroups: comp.lang.python
Subject: cmsg cancel <a0kqrh$bv$1 at>
Control: cancel <a0kqrh$bv$1 at>
Date: Mon, 31 Dec 2001 03:47:36 GMT
Organization: A poorly-installed InterNetNews site
Lines: 2
Message-ID: <cancel.a0kqrh$bv$1 at>
X-Trace: 1009774703 27193 (31 Dec 2001 04:58:23 GMT)
X-Complaints-To: usenet at
NNTP-Posting-Date: Mon, 31 Dec 2001 04:58:23 +0000 (UTC)
X-No-Archive: yes
X-Unac4ncel: yes
X-Commentary: I love NewsAgent 1.10 and the Sandblaster Cancel Engine Build 74 (19 March 1999)

This message was cancelled from within Mozilla.

More information about the Python-list mailing list