[Stackless-checkins] r51612 - in stackless/branches/release25-maint: PCbuild/publish_binaries.py Stackless/module/stacklessmodule.c
richard.tew
python-checkins at python.org
Fri Aug 25 15:01:55 CEST 2006
Author: richard.tew
Date: Fri Aug 25 15:01:54 2006
New Revision: 51612
Modified:
stackless/branches/release25-maint/PCbuild/publish_binaries.py
stackless/branches/release25-maint/Stackless/module/stacklessmodule.c
Log:
Ported r51609.
Added Jeff Senn's patch to allow running of stackless.run() on other threads other than the initial one. Corrected the publish_binaries.py script to handle the actual SVN structure rather than how I had it laid out on my harddrive.
Modified: stackless/branches/release25-maint/PCbuild/publish_binaries.py
==============================================================================
--- stackless/branches/release25-maint/PCbuild/publish_binaries.py (original)
+++ stackless/branches/release25-maint/PCbuild/publish_binaries.py Fri Aug 25 15:01:54 2006
@@ -1,7 +1,7 @@
from zipfile import *
import os, sys, md5
-exp_path = r"..\..\binaries-pc"
+exp_path = r"..\..\..\binaries-pc"
prog = """
import md5
Modified: stackless/branches/release25-maint/Stackless/module/stacklessmodule.c
==============================================================================
--- stackless/branches/release25-maint/Stackless/module/stacklessmodule.c (original)
+++ stackless/branches/release25-maint/Stackless/module/stacklessmodule.c Fri Aug 25 15:01:54 2006
@@ -216,9 +216,9 @@
int err;
if (ts->st.main == NULL) return PyStackless_RunWatchdog_M(timeout);
- if (ts != slp_initial_tstate || ts->st.current != ts->st.main)
+ if (ts->st.current != ts->st.main)
RUNTIME_ERROR(
- "run() must be run from the main thread's main tasklet.",
+ "run() must be run from the main tasklet.",
NULL);
if (timeout <= 0) {
_______________________________________________
Stackless-checkins mailing list
Stackless-checkins at stackless.com
http://www.stackless.com/mailman/listinfo/stackless-checkins
More information about the Stackless-checkins
mailing list