python / python/cpython

PEP 667 follow-up: hard deprecate `PyEval_GetLocals()`

オープン
#125,170 コメント 3 件 リアクション 0 件 担当者 1 名 GitHub で見る

@markshannon がすでに取り組んでいます。

2024年10月16日 から。

3.14 interpreter-core topic-C-API triaged
主要言語
Python
スター
77.2k
フォーク
35.9k
PR マージ指標
PR 指標を取得中

説明

During the lead up to the 3.13.0 release, the SC approved an amendment to PEP 667 that escalates Python 3.13's soft deprecation for PyEval_GetLocals() to a hard deprecation in 3.14 for eventual removal in 3.16 (the difficulties of keeping that API working in the face of the other implementation changes made the fundamental flaws in the way this API works more self-evident).

This ticket covers adding the hard deprecation to the C code and the expected removal version to the C API docs.

Linked PRs
  • gh-128348

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。