Monday, August 01, 2005

PEP 342 Implementation now in CVS

My patch to implement PEP 342 is now in the Python CVS trunk. It probably could've gotten there sooner, but I've been terribly busy. I decided to go ahead and check it in now, rather than waiting until I'd polished every possible thing, so there are a few loose ends, not the least of which is documentation. Tests are there, though. If you're the sort of person who builds your own Python versions from CVS, then enjoy!

(In case you didn't read my earlier post on PEP 342, PEP 342 enhances the semantics of Python's generators to make them more coroutine-like, with many spin-off benefits for asynchronous I/O, simulations, and that sort of thing.)