yeah, and it works to!  Ive used yield in jyleo.  Having that support made implementing jyleo much easier if it was absent, since leo uses yield.  How to implement yield without yield?  Yuck! :D


Rob Alexander <> wrote:
Michel Albert wrote:

> I found out about 2.2a earlier today. Tried to use it but it still
complains about the "yield" statement. As it is an alpha release I did
not expect it to work anyhoo ;)

In Python and Jython 2.2, you have to do:

from __future__ import generators

Rob Alexander
Research Associate, Dept of Computer Science, The University of York,
York, YO10 5DD, UK
Tel: 01904 432792 Fax: 01904 432708

This email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
Jython-users mailing list

Brings words and photos together (easily) with
PhotoMail - it's free and works with Yahoo! Mail.