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

Aahz Maruch aahz at panix.com
Sat Dec 29 11:12:42 EST 2001


In article <a0kor6$2o7u$2 at news.idiom.com>,
James T. Dennis <jadestar at idiom.com> 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
along.
-- 
                      --- Aahz  <*>  (Copyright 2001 by aahz at pobox.com)

Hugs and backrubs -- I break Rule 6                 http://www.rahul.net/aahz/
Androgynous poly kinky vanilla queer het Pythonista   

Tenth Virtual Anniversary: 2 days and counting

========= WAS CANCELLED BY =======:
Path: news.sol.net!spool0-nwblwi.newsops.execpc.com!newsfeeds.sol.net!news-out.visi.com!hermes.visi.com!newsfeed.direct.ca!look.ca!newsfeed.dacom.co.kr!feeder.kornet.net!news1.kornet.net!ua4canc3ll3r
From: aahz at panix.com (Aahz Maruch)
Newsgroups: comp.lang.python
Subject: cmsg cancel <a0kq1q$r88$1 at panix3.panix.com>
Control: cancel <a0kq1q$r88$1 at panix3.panix.com>
Date: Mon, 31 Dec 2001 03:35:51 GMT
Organization: A poorly-installed InterNetNews site
Lines: 2
Message-ID: <cancel.a0kq1q$r88$1 at panix3.panix.com>
NNTP-Posting-Host: 211.57.49.2
X-Trace: news2.kornet.net 1009774710 27193 211.57.49.2 (31 Dec 2001 04:58:30 GMT)
X-Complaints-To: usenet at news2.kornet.net
NNTP-Posting-Date: Mon, 31 Dec 2001 04:58:30 +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