Stackless python and microthreads

Matt Leslie matthewleslie at hotmail.com
Thu May 13 17:57:31 EDT 2004


Hi,

I'm trying to use microthreads under stackless python, since they sound 
  like exactly what I am after, but I am having very little success. 
I've got a fresh install of python 2.3.3 from python.org, then 
downloaded the binary python2.3 release of stackless python from 
www.stackless.com. This contained three files:

python23.dll, python23.lib, python23.exp

I searched for the original versions of these files, and copied:

stackless python23.dll over c:\winnt\system32\python23.dll
stackless python23.lib over C:\Program Files\python2.3\libs\python23.lib

Since I believe .exp files are associated with .lib files. I put the 
.exp file in the same place as the lib. There was no existing file with 
this name on my file system.

I then downloaded the microthreads package from 
http://willware.net:8080/uthread.py

I then ran python, type 'import uthread' and immediately got the 
following error.

---------------------------------------
Python 2.3.3 Stackless 3.0 040407 (#51, Apr  7 2004, 19:28:46) [MSC 
v.1200 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
 >>> import uthread.py
Traceback (most recent call last):
   File "<stdin>", line 1, in ?
   File "uthread.py", line 35, in ?
     import continuation, sys, traceback, bisect, time, StringIO
ImportError: No module named continuation

Has anyone run into this before? Can someone tell me where to find this 
continuation module?

Thanks,
	Matt



More information about the Python-list mailing list