1. python_mirrors
  2. stackless-fullhistory

Commits

rmtew  committed bc96d8b

Fixed a bug with too deep recursion and bumped the Stackless version for a binary release.

  • Participants
  • Parent commits 6f93db5
  • Branches dev

Comments (0)

Files changed (2)

File Python/ceval.c

View file
  • Ignore whitespace
 #ifdef STACKLESS
 	if (CSTACK_SAVE_NOW(tstate, f))
 		return slp_eval_frame_newstack(f, retval);
-#endif /* STACKLESS */
-
+
+	/* push frame */
+	if (Py_EnterRecursiveCall("")) {
+	    Py_XDECREF(retval);
+		tstate->frame = f->f_back;
+		Py_DECREF(f);
+		return NULL;
+	}
+#else
 	/* push frame */
 	if (Py_EnterRecursiveCall(""))
 		return NULL;
+#endif /* STACKLESS */
 
 	tstate->frame = f;
 

File Stackless/stackless_version.h

View file
  • Ignore whitespace
 /*
  * Stackless Python version string
- * created at Thu May 04 18:28:57 2006 by mkversion.py
+ * created at Tue May 16 13:27:25 2006 by mkversion.py
  */
 
 /* keep this entry up-to-date */
-#define STACKLESS_VERSION "3.1b3 060504"
+#define STACKLESS_VERSION "3.1b3 060516"