Skip to content

implement iterator for Bound iterator#3695

Merged
adamreichold merged 1 commit intoPyO3:mainfrom
davidhewitt:bound-iterator
Dec 25, 2023
Merged

implement iterator for Bound iterator#3695
adamreichold merged 1 commit intoPyO3:mainfrom
davidhewitt:bound-iterator

Conversation

@davidhewitt
Copy link
Copy Markdown
Member

Implements the ability to iterate Bound<'_, PyIterator> and &Bound<'_, PyIterator> in the same way that &'py PyIterator can already be iterated.

@davidhewitt
Copy link
Copy Markdown
Member Author

Right, I've cleaned up this code and also cherry-picked the commit exposing from_bound_object from #3692

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented Dec 24, 2023

CodSpeed Performance Report

Merging #3695 will not alter performance

Comparing davidhewitt:bound-iterator (d669a94) with main (6ca63b5)

Summary

✅ 78 untouched benchmarks

@davidhewitt
Copy link
Copy Markdown
Member Author

Uff, that second commit depends on #3694 so to avoid a deadlock I've split that out into #3702. This PR is the first of the three that is mergeable 😮‍💨

@adamreichold adamreichold added this pull request to the merge queue Dec 25, 2023
Merged via the queue into PyO3:main with commit bd66053 Dec 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI-skip-changelog Skip checking changelog entry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants