[pypy-commit] pypy stm-gc: Add an assert.

arigo noreply at buildbot.pypy.org
Tue Feb 14 19:51:04 CET 2012


Author: Armin Rigo <arigo at tunes.org>
Branch: stm-gc
Changeset: r52469:8d8764e61a5f
Date: 2012-02-13 14:09 +0100
http://bitbucket.org/pypy/pypy/changeset/8d8764e61a5f/

Log:	Add an assert.

diff --git a/pypy/module/transaction/threadintf.py b/pypy/module/transaction/threadintf.py
--- a/pypy/module/transaction/threadintf.py
+++ b/pypy/module/transaction/threadintf.py
@@ -24,6 +24,7 @@
         lock.release()
 
 def start_new_thread(callback, args):
+    assert args == ()
     if we_are_translated():
         ll_thread.start_new_thread(callback, args)
     else:


More information about the pypy-commit mailing list