]> granicus.if.org Git - python/commit
Make gauss() semi-thread-safe. It can still give duplicate results,
authorGuido van Rossum <guido@python.org>
Fri, 29 May 1998 17:51:31 +0000 (17:51 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 29 May 1998 17:51:31 +0000 (17:51 +0000)
commitd03e1197cb5052e3f758794e2a7aecf9f5ca5f46
treeb75a6ed60d4dde281e1d8fa40d4eccf0f044c312
parentb39e461b89a587116b56f57a5e34ebb479466dd8
Make gauss() semi-thread-safe.  It can still give duplicate results,
but it can no longer raise an exception when called by several threads
simultaneously.
Lib/random.py