the link to moicrothreads code that i was trying long ago, but didn't do much work:
.. mostly it will be of no use to many as there are far better implementation available on net, just google for microthreads + python!
ps. i won't be updating this code any longer (neither i plan to work on it)! but any one is open to contribute back.