Author: Armin Rigo <[email protected]>
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:
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to