from __future__ import *
MarchPython
February 24, 2004 at 04:57 PM | categories: python, stackless | View CommentsFrom stackless.com:
24-Feb-04: Stackless Sprint in Berlin
A sprint on Stackless Python will be done In Berlin, March 10-14. We are planning to work on auto-scheduling, more softswitching support, documentation, examples, Zope, refactoring Stackless into configurable layers, and more.
I'll be flying out to participate, and hopefully also to meet up with the MacPython crew in Amsterdam for a few days.. followed immediately by a week of PyCon.
More Stackless
January 26, 2004 at 09:46 AM | categories: python, stackless | View CommentsWorked on Stackless some more this weekend. It should compile as Stackless.framework on OS X now, so pretty soon (when it's stable and all) you will be able to have stackless and python installed at the same time without having to worry about version mismatch errors, DYLD environment variables, or whatever.
pickle those iterators
January 25, 2004 at 02:32 PM | categories: python, stackless | View CommentsI made a small patch to the Stackless 2.3 branch today: iterator pickling. It now pickles/unpickles all of the private iterator types (that I know of) in Python's builtins: dictionary-iterator, listiterator, rangeiterator, tupleiterator. I'm sure it will be in CVS pretty soon.
Python 2.3.3 Stackless 3.0 040119 (#5, Jan 25 2004, 11:26:07) [GCC 3.3 20030304 (Apple Computer, Inc. build 1495)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> from pickle import loads, dumps >>> a = iter(range(10)) >>> a <stackless.listiterator object at 0x3d0d50>>>> a.next() 0 >>> a.next() 1 >>> b = loads(dumps(a)) >>> a.next() 2 >>> b.next() 2