Skip to content

remove FromPyObject blanket implementation#6188

Merged
Icxolu merged 1 commit into
PyO3:mainfrom
Icxolu:from-py-object-blanket-removal
Jul 5, 2026
Merged

remove FromPyObject blanket implementation#6188
Icxolu merged 1 commit into
PyO3:mainfrom
Icxolu:from-py-object-blanket-removal

Conversation

@Icxolu

@Icxolu Icxolu commented Jul 5, 2026

Copy link
Copy Markdown
Member

This follows up on our deprecation of the FromPyObject blanket impl in 0.28 and removes it. We still accept the skip_from_py_object for now, but deprecate it, as it does not have any function now anymore.

A nice side effect is than many of the error messages of unsupported types are much nicer now 🎉

@Icxolu Icxolu force-pushed the from-py-object-blanket-removal branch from 3369dfc to 753169e Compare July 5, 2026 15:02
@Icxolu Icxolu added this pull request to the merge queue Jul 5, 2026
Merged via the queue into PyO3:main with commit 9e6697d Jul 5, 2026
50 checks passed
@Icxolu Icxolu deleted the from-py-object-blanket-removal branch July 5, 2026 17:18
alex added a commit to alex/pyo3 that referenced this pull request Jul 5, 2026
The removal of the `FromPyObject` blanket implementation (PyO3#6188)
changed the extraction diagnostics; these snapshots are the combined
output of that change and the slimmed codegen on this branch.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
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