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 brett.cannon
Recipients brett.cannon, quicknir, srittau
Date 2021-11-01.16:44:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1635785071.79.0.564088961224.issue45250@roundup.psfhosted.org>
In-reply-to
Content
> Wouldn't a nicer resolution for this be to change `iter`

Unfortunately that isn't backwards-compatible. Some people may explicitly want their iterators to not be iterables to guarantee that people who want an iterator get a fresh/new one instead of reusing a live iterator.
History
Date User Action Args
2021-11-01 16:44:31brett.cannonsetrecipients: + brett.cannon, srittau, quicknir
2021-11-01 16:44:31brett.cannonsetmessageid: <1635785071.79.0.564088961224.issue45250@roundup.psfhosted.org>
2021-11-01 16:44:31brett.cannonlinkissue45250 messages
2021-11-01 16:44:31brett.cannoncreate