Message320323
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. |
|
Date |
User |
Action |
Args |
2018-06-23 19:18:14 | rhettinger | set | recipients:
+ rhettinger, ncoghlan, erik.bray, serhiy.storchaka, jdemeyer, bbayles |
2018-06-23 19:18:14 | rhettinger | set | messageid: <1529781494.45.0.56676864532.issue33939@psf.upfronthosting.co.za> |
2018-06-23 19:18:14 | rhettinger | link | issue33939 messages |
2018-06-23 19:18:14 | rhettinger | create | |
|