Skip to content

derive(FromPyObject, IntoPyObject): emit type hints for generic types - #6539

Merged
Tpt merged 1 commit into
PyO3:mainfrom
Tpt:derive-generic-type-hints
Oct 21, 2026
Merged

Tpt merged 1 commit into
PyO3:mainfrom
Tpt:derive-generic-type-hints

Conversation

@Tpt

@Tpt Tpt commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

Improvements made in the way we build type hints makes it work "for free"

@Tpt
Tpt force-pushed the derive-generic-type-hints branch from cf509dc to c86e205 Compare October 21, 2026 12:43
@Tpt
Tpt marked this pull request as ready for review October 21, 2026 12:43
@Tpt
Tpt marked this pull request as draft October 21, 2026 12:55
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@Tpt
Tpt force-pushed the derive-generic-type-hints branch from c86e205 to 9ff46d5 Compare October 21, 2026 13:10
@Tpt
Tpt marked this pull request as ready for review October 21, 2026 14:00

@bschoenmaeckers bschoenmaeckers left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool!

@Tpt
Tpt added this pull request to the merge queue Oct 21, 2026
Merged via the queue into PyO3:main with commit 45beb4c Oct 21, 2026
53 of 54 checks passed
@Tpt
Tpt deleted the derive-generic-type-hints branch October 21, 2026 15:34
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