A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-February/002067.html below:

[Python-Dev] random.py weirdness

[Python-Dev] random.py weirdness [Python-Dev] random.py weirdnessMoshe Zadka Moshe Zadka <mzadka@geocities.com>
Fri, 4 Feb 2000 21:42:22 +0200 (IST)
I'll refer you all to the copy of random.py you have on your hard-disks,
to line 68, where a function new_generator(a=None) is defined, merely
returning generator(a=None). I wonder who put it there, and why. 
At least to simplify the weirdness, we could change it to

# for backwards compatability
new_generator = generator

Which would work for all but the most obscure hacks.

--
Moshe Zadka <mzadka@geocities.com>. 
INTERNET: Learn what you know.
Share what you don't.




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4