Add a deprecation warning for `__int__()`
まだ誰も着手していません。
- 主要言語
- Cython
- スター
- 3.4k
- フォーク
- 329
- 平均マージ
- 1日 23時間
- マージ済み PR(30日)
- 116
説明
Do we want to give users a grace period, in case they need to support two cuda->bindings versions for a while?
Concretely:
In the next release, deprecate only in the documentation.
Only with the next minor release bump: actually raise
DeprecationWarning.@leofang WDYT about introducing a "Phased deprecations" section somewhere, so we don't forget in the future.
E.g. for this case:
__int__()method for type A, B, C were informally deprecated in cuda-bindings release vX.Y.Z.DeprecationWarningwill be raised starting with release vX.Y+1.0.
Originally posted by @rwgk in https://github.com/NVIDIA/cuda-python/issues/773#issuecomment-3109349954
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、int() の実装とプロジェクトのリリースまたは非推奨化に関するドキュメントを探します。この issue にはファイル名やテストの指定がありません。どの型が対象になるかを確認し、このリリースで非推奨化をドキュメント化するのか、それとも次の minor release の後にだけ DeprecationWarning を発生させるのかについて合意します。段階的な動作がドキュメント化され、一貫して実装されていれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 領域
- api
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100