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.

貢獻者指南