PyO3/pyo3

Seal traits inside `impl_` submodule

Open

#3908 aperta il 27 feb 2024

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

Metriche repository

Star
 (10.152 star)
Metriche merge PR
 (Merge medio 12g 19h) (64 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