PyO3/pyo3

Seal traits inside `impl_` submodule

Open

#3,908 opened on Feb 27, 2024

View on GitHub
 (13 comments) (0 reactions) (0 assignees)Rust (10,152 stars) (668 forks)batch import
Good First Issue

Description

Off the back of https://github.com/PyO3/pyo3/pull/3897#discussion_r1504721475

Should we review the traits inside the impl_ submodule, check which ones can be sealed, and do that? It's a reasonable safety mechanism to prevent users from trying to implement those things.

Contributor guide