Python 1.5.x vs Python 2.x.x

Emile van Sebille emile at fenx.com
Sat Dec 29 11:06:47 EST 2001


"James T. Dennis" <jadestar at idiom.com> wrote in message
news:a0kor6$2o7u$2 at news.idiom.com...
> Paul Rubin <phr-n2001d at nightsong.com> wrote:
> > "Fredrik Lundh" <fredrik at pythonware.com> writes:
> >>> Not bugs per se unless perfect backward compatibility was
> >>> an overriding concern.
>
> >> it isn't.
>
> > It's a bug if something is gratuitously, unnecessarily incompatible,
> > like "rand" disappearing.  What was the reason for that?
>
>  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?

whrandom now exists for backwards compatibility purposes and is scheduled
for deprecation (is this a word? ;-)

Use random.


--

Emile van Sebille
emile at fenx.com

---------





More information about the Python-list mailing list