Author: Remi Meier <[email protected]>
Branch: 
Changeset: r1647:ee1552efd127
Date: 2015-02-23 16:54 +0100
http://bitbucket.org/pypy/stmgc/changeset/ee1552efd127/

Log:    (arigo,xoraxax,remi) remove (probably) bogus assert

diff --git a/c7/stm/extra.c b/c7/stm/extra.c
--- a/c7/stm/extra.c
+++ b/c7/stm/extra.c
@@ -22,9 +22,8 @@
     */
     if (STM_PSEGMENT->transaction_state != TS_REGULAR) {
         /* ignore callbacks if we're in an inevitable transaction
-           (which cannot abort) */
+           (which cannot abort) or no transaction at all in this segment */
         dprintf(("  STATE = %d\n", (int)STM_PSEGMENT->transaction_state));
-        assert(STM_PSEGMENT->transaction_state == TS_INEVITABLE);
         return -1;
     }
 
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to