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 rhettinger
Recipients bbayles, erik.bray, jdemeyer, ncoghlan, rhettinger, serhiy.storchaka
Date 2018-06-23.19:18:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1529781494.45.0.56676864532.issue33939@psf.upfronthosting.co.za>
In-reply-to
Content
Perhaps an object can set an attribute, __infinite_iterator__ = True.

That would provide an unequivocal way to communicate to consumer code that the producer is known to generate a non-terminating stream.
History
Date User Action Args
2018-06-23 19:18:14rhettingersetrecipients: + rhettinger, ncoghlan, erik.bray, serhiy.storchaka, jdemeyer, bbayles
2018-06-23 19:18:14rhettingersetmessageid: <1529781494.45.0.56676864532.issue33939@psf.upfronthosting.co.za>
2018-06-23 19:18:14rhettingerlinkissue33939 messages
2018-06-23 19:18:14rhettingercreate