Author: Amaury Forgeot d'Arc <amaur...@gmail.com>
Branch: 
Changeset: r52533:f272bf10ef94
Date: 2012-02-16 00:17 +0100
http://bitbucket.org/pypy/pypy/changeset/f272bf10ef94/

Log:    Fix translation

diff --git a/pypy/module/cpyext/pystate.py b/pypy/module/cpyext/pystate.py
--- a/pypy/module/cpyext/pystate.py
+++ b/pypy/module/cpyext/pystate.py
@@ -61,6 +61,7 @@
     return MemoryCapsule
 
 def ThreadState_dealloc(ts, space):
+    assert space is not None
     Py_DecRef(space, ts.c_dict)
 ThreadStateCapsule = encapsulator(PyThreadState.TO,
                                   dealloc=ThreadState_dealloc)
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to