Skip to content

Remove TypeInfo#5893

Open
Tpt wants to merge 1 commit intoPyO3:mainfrom
Tpt:tpt/type-info
Open

Remove TypeInfo#5893
Tpt wants to merge 1 commit intoPyO3:mainfrom
Tpt:tpt/type-info

Conversation

@Tpt
Copy link
Contributor

@Tpt Tpt commented Mar 19, 2026

Remove the TypeInfo enum and the FromPyObject::type_input and IntoPyObject::type_output functions. They are replaced by the PyStaticExpr enum and the FromPyObject::INPUT_TYPE and the IntoPyObject::OUTPUT_TYPE associated constants.

The TypeInfo enum is unused at my knowledge. pyo3-stub-gen does not rely on it but on their own type.

@Tpt Tpt marked this pull request as ready for review March 19, 2026 08:50
@bschoenmaeckers
Copy link
Member

Nice cleaning up!

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