PyO3/pyo3

Seal traits inside `impl_` submodule

Open

#3,908 opened on 2024年2月27日

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

説明

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.

コントリビューターガイド

Seal traits inside `impl_` submodule · PyO3/pyo3#3908 | Good First Issue