]> granicus.if.org Git - python/commit
Fulfill Martin's request to use try/except rather than a "look before
authorRaymond Hettinger <python@rcn.com>
Sun, 5 Sep 2004 00:00:42 +0000 (00:00 +0000)
committerRaymond Hettinger <python@rcn.com>
Sun, 5 Sep 2004 00:00:42 +0000 (00:00 +0000)
commitc1c43cad63a88eae694b174c9a0fe6242dd5972b
tree7ece3cc683d61331c761c51dcf48e775bdb4c369
parentc4536a1deab6b14e4579e453289bd7648d144d36
Fulfill Martin's request to use try/except rather than a "look before
you leap" approach.  Makes the early call to os.urandom() unnecessary.
Lib/random.py
Lib/test/test_random.py