--- multiprocessing/process.py.old 2009-12-03 08:07:06.000000000 -0500 +++ multiprocessing/process.py 2009-12-03 08:16:40.000000000 -0500 @@ -280,7 +280,13 @@ self._popen = None self._counter = itertools.count(1) self._children = set() - self._authkey = AuthenticationString(os.urandom(32)) + # Get randomness from urandom or the 'random' module. + try: + self._authkey = AuthenticationString(os.urandom(32)) + except: + import random + bytes = [chr(random.randrange(256)) for i in range(32)] + self._authkey = AuthenticationString(bytes) self._tempdir = None _current_process = _MainProcess()