Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PyList::as_tuple() -> PyList::to_tuple() #3043

Merged
merged 1 commit into from
Mar 12, 2023
Merged

Conversation

davidhewitt
Copy link
Member

As discussed as a follow-up to #3042

@davidhewitt davidhewitt added the CI-skip-changelog Skip checking changelog entry label Mar 12, 2023
@davidhewitt
Copy link
Member Author

(I also simplified the inner implementation a bit.)

@davidhewitt
Copy link
Member Author

bors r=mejrs

bors bot added a commit that referenced this pull request Mar 12, 2023
3043: `PyList::as_tuple()` -> `PyList::to_tuple()` r=mejrs a=davidhewitt

As discussed as a follow-up to #3042 

Co-authored-by: David Hewitt <[email protected]>
@bors
Copy link
Contributor

bors bot commented Mar 12, 2023

Build failed:

@davidhewitt
Copy link
Member Author

bors retry

@bors
Copy link
Contributor

bors bot commented Mar 12, 2023

Build succeeded:

  • conclusion

@bors bors bot merged commit 11c8d0e into PyO3:main Mar 12, 2023
bors bot added a commit that referenced this pull request Mar 18, 2023
3044: Add `PyTuple::to_list` r=davidhewitt a=davidhewitt

Companion to #3043. I've included benchmarks which suggests that this method is indeed about 25% faster on my machine.

Co-authored-by: David Hewitt <[email protected]>
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