PyO3/pyo3

Seal traits inside `impl_` submodule

开放

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

 (13 条评论) (0 个反应) (0 位负责人)Rust (668 个派生)batch import
Good First Issue

仓库指标

星标
 (10,152 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南