Skip to content

Remove TypeInfo#5893

Merged
davidhewitt merged 1 commit intoPyO3:mainfrom
Tpt:tpt/type-info
Mar 19, 2026
Merged

Remove TypeInfo#5893
davidhewitt merged 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!

@davidhewitt davidhewitt added this pull request to the merge queue Mar 19, 2026
Merged via the queue into PyO3:main with commit a1c0f69 Mar 19, 2026
44 of 45 checks passed
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.

3 participants