SHA-based subclass for Random module
Sun Mar 14 07:42:00 CET 2004
David Lees <abcdebl2nonspammy at verizon.net> writes:
> NameError: global name 'newrand' is not defined
> Is this a problem with my Python installation or something defining
> newrand that you forgot to include?
Oops, editing error on my part. Sorry. I originally called the class
"newrand" and then changed it to sharandom, but missed updating that
spot and it still worked when I tested it because the old newrand
class was still in the interpreter :(.
Anyway, it's fixed now, you can re-download, or just edit newrand to
say sharandom. Thanks.
More information about the Python-list