PyO3/pyo3

Seal traits inside `impl_` submodule

Ouverte

#3 908 ouverte le 27 févr. 2024

 (13 commentaires) (0 réaction) (0 personne assignée)Rust (668 forks)batch import
Good First Issue

Métriques du dépôt

Stars
 (10 152 étoiles)
Métriques de merge PR
 (Merge moyen 9j 18h) (51 PRs mergées en 30 j)

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.

Guide contributeur