]> granicus.if.org Git - python/commit
SF patch 483059: Avoid use of eval() in random.py, from Finn Bock.
authorTim Peters <tim.peters@gmail.com>
Sun, 25 Nov 2001 21:12:43 +0000 (21:12 +0000)
committerTim Peters <tim.peters@gmail.com>
Sun, 25 Nov 2001 21:12:43 +0000 (21:12 +0000)
commitdc47a89ff19b932c1c794422a5223847b4e64f0e
tree9aa0fb912a1b0b4c866d518c09bdd9a2b3537ef7
parent652e1917c6f2bcdccb784d9d37950c381948a77c
SF patch 483059: Avoid use of eval() in random.py, from Finn Bock.
_verify():  Pass in the values of globals insted of eval()ing their
names.  The use of eval() was obscure and unnecessary, and the patch
claimed random.py couldn't be used in Jython applets because of it.
Lib/random.py