[Subversion] / PEAK / src / peak / util / random.py  

Diff of /PEAK/src/peak/util/random.py

Parent Directory | Revision Log

version 580, Wed Oct 30 23:06:35 2002 UTC version 1085, Tue May 6 20:47:17 2003 UTC
Line 5 
Line 5 
   
   
 import sys, os, time  import sys, os, time
 from whrandom import random, seed  from whrandom import random
 seeded = 0  seeded = 0
   
 try:  try:
Line 185 
Line 185 
   
     s = randbytes(2, prng, wait)      s = randbytes(2, prng, wait)
     return (ord(s[0]) << 8) | ord(s[1])      return (ord(s[0]) << 8) | ord(s[1])
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   


Generate output suitable for use with a patch program
Legend:
Removed from v.580  
changed lines
  Added in v.1085

cvs-admin@eby-sarna.com

Powered by ViewCVS 1.0-dev

ViewCVS and CVS Help