PyCon: Using Stackless

Write asynchronous code that looks like (more simple) blocking code.

These are the things that were new or surprising to me:
  • Exceptions don't unwind all the way to the original tasklet creator.
  • It sounds like each tasklet has its own contiguous stack on the heap.
  • They can monkeypatch the socket module to make urllib2 asynchronous!!!
  • They don't really know where they're going.
  • However, it's working in production.


Brandon L. Golm said…
more info please! who? links? what are they doing with it? are the only using stackless, or other special things with it? I feel like I'm missing something here.
jjinux said…
Stackless. Ask Sam ;)