Message396282
I'm not sure it's worth it to complicate the logic by raising the error before iteration since iteration is normally done soon after method call.
I agree the doc change is helpful, since the ticket was dormant for a ~month, I've put up a PR with this change as well as clarifying that an iterator obj is returned rather than an iterable.
I've given credit to Ran in the PR description. |
|
Date |
User |
Action |
Args |
2021-06-21 19:33:35 | andrei.avk | set | recipients:
+ andrei.avk, tim.peters, rhettinger, docs@python, pablogsal, bluetech |
2021-06-21 19:33:35 | andrei.avk | set | messageid: <1624304015.04.0.747014934436.issue42588@roundup.psfhosted.org> |
2021-06-21 19:33:35 | andrei.avk | link | issue42588 messages |
2021-06-21 19:33:34 | andrei.avk | create | |
|