Skip to content

add PyAny::downcast_exact#3346

Merged
adamreichold merged 1 commit intoPyO3:mainfrom
davidhewitt:downcast-exact
Jul 28, 2023
Merged

add PyAny::downcast_exact#3346
adamreichold merged 1 commit intoPyO3:mainfrom
davidhewitt:downcast-exact

Conversation

@davidhewitt
Copy link
Copy Markdown
Member

As discussed in #3345 (comment), I have been thinking for while that this is occasionally useful in niche situations where (usually for performance) you don't care about subtypes.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants