PyO3/pyo3

Seal traits inside `impl_` submodule

Open

#3,908 创建于 2024年2月27日

在 GitHub 查看
 (13 评论) (0 反应) (0 负责人)Rust (10,152 star) (668 fork)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.

贡献者指南