This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ncoghlan
Recipients barry, ezio.melotti, gvanrossum, lemburg, michael.foord, ncoghlan, rhettinger, serhiy.storchaka, terry.reedy
Date 2013-08-01.12:59:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1375361953.8.0.480727275758.issue18472@psf.upfronthosting.co.za>
In-reply-to
Content
Heh, I just realised a correct generator definition would have needed the loop-and-a-half internally anyway:

    def itervalues(x):
        while True:
          value = x.getvalue()
          if not value:
              break
          yield value
History
Date User Action Args
2013-08-01 12:59:13ncoghlansetrecipients: + ncoghlan, lemburg, gvanrossum, barry, rhettinger, terry.reedy, ezio.melotti, michael.foord, serhiy.storchaka
2013-08-01 12:59:13ncoghlansetmessageid: <1375361953.8.0.480727275758.issue18472@psf.upfronthosting.co.za>
2013-08-01 12:59:13ncoghlanlinkissue18472 messages
2013-08-01 12:59:13ncoghlancreate