PyO3/pyo3

Seal traits inside `impl_` submodule

Aperta

#3908 aperta il 27 feb 2024

 (13 commenti) (0 reazioni) (0 assegnatari)Rust (668 fork)batch import
Good First Issue

Metriche repository

Star
 (10.152 stelle)
Metriche merge PR
 (Merge medio 9g 18h) (51 PR mergiate in 30 g)

Descrizione

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.

Guida contributor