On 2/10/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Mostly for my own curiosity, I'm working on a PEP-342-based > microthreading library with a similar api to threads and threading > (coalesced into a single module). It uses coroutines and a trampoline > scheduler, and provides basic async wrappers for common IO operations. > > It's not a framework/environment like Twisted or Kamaelia -- it's just a > microthreading library with some solid primitives. My thinking is that > this would be the "next level" for apps which currently use asyncore. > > I won't go into a lot of detail on the module, because (a) it's not even > nearly done and (b) my question is higher-level than that. > > Is there any interest in including a simple microthreading module in > Python's standard library? >
I am sure there is. > If this sounds like a terrible idea, let fly the n00b-seeking missiles. > If it sounds better than terrible, I'll keep working and post a > reasonable prototype soon (a PEP would also be in order at some point, > correct?). I really need to get the informatiion PEP written for guidelines on what it usually takes to get something added to the stdlib. =) Basically, the list of things you need to do (typically, these are just guidelines) are: 1. Write it 2. Get the community to use it and like it 3. Make it follow PEP 7/8 style guidelines 4. Write docs 5. Write tests 6. Promise to help maintain the code. -Brett _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com