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

leouser

Rob Alexander <rda@cs.york.ac.uk> 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 http://www.cs.york.ac.uk/~rda/


-------------------------------------------------------
This SF.net 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!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Jython-users mailing list
Jython-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jython-users


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