Message4934

Author thobes
Recipients fwierzbicki, scoder, thobes
Date 2009-07-21.21:11:03
SpamBayes Score 6.343472e-05
Marked as misclassified No
Message-id <1248210664.69.0.182843520728.issue1407@psf.upfronthosting.co.za>
In-reply-to
Content
Fixed in revision 6555:
http://jython.svn.sourceforge.net/viewvc/jython?view=rev&revision=6555

This error was much worse than expected. The stack was not restored
properly after yield, any invocation where yield was in the argument
list was faulty. I am amazed that there were no test cases in the
standard test suite for catching this. Here is a simpler failing example:

  def one():
    two((yield))
  def two(x):
    print x
  o = one(); o.next()
  o.send(5)

This is all fixed now though.
History
Date User Action Args
2009-07-21 21:11:04thobessetmessageid: <1248210664.69.0.182843520728.issue1407@psf.upfronthosting.co.za>
2009-07-21 21:11:04thobessetrecipients: + thobes, fwierzbicki, scoder
2009-07-21 21:11:04thobeslinkissue1407 messages
2009-07-21 21:11:04thobescreate