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 barry
Recipients barry, ben11kehoe
Date 2022-01-09.01:11:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1641690698.99.0.437747618744.issue46307@roundup.psfhosted.org>
In-reply-to
Content
I've never personally needed this, but I could see where it could come in handy.

I wonder if __iter__() would be the right API for that?  I wonder then if we should also implement __contains__()?

Would you be interested in creating a PR for the feature?
History
Date User Action Args
2022-01-09 01:11:39barrysetrecipients: + barry, ben11kehoe
2022-01-09 01:11:38barrysetmessageid: <1641690698.99.0.437747618744.issue46307@roundup.psfhosted.org>
2022-01-09 01:11:38barrylinkissue46307 messages
2022-01-09 01:11:38barrycreate