bpo-28814: Undeprecate inadvertantly deprecated inspect function. by Carreau · Pull Request #122 · python/cpython
Nick Coghlan said on bpo-28814: > inspect.getargvalues() and inspect.formatargvalues() were deprecated > in Python 3.5 as part of implementing bpo-20438 > This is incorrect, as these are *frame* introspection related functions, > not callable introspection ones. The documentation and implementation > layout is confusing though, as they're interleaved with the callable > introspection operation So un-deprecate in the doc, and leave a note to ignore previous deprecation notice.
berkerpeksag pushed a commit to berkerpeksag/cpython that referenced this pull request
…ython#122) Nick Coghlan said on bpo-28814: > inspect.getargvalues() and inspect.formatargvalues() were deprecated > in Python 3.5 as part of implementing bpo-20438 > This is incorrect, as these are *frame* introspection related functions, > not callable introspection ones. The documentation and implementation > layout is confusing though, as they're interleaved with the callable > introspection operation This commit undeprecates these functions and adds a note to ignore previous deprecation notices. (cherry picked from commit 0899b98)
berkerpeksag pushed a commit to berkerpeksag/cpython that referenced this pull request
…ython#122) Nick Coghlan said on bpo-28814: > inspect.getargvalues() and inspect.formatargvalues() were deprecated > in Python 3.5 as part of implementing bpo-20438 > This is incorrect, as these are *frame* introspection related functions, > not callable introspection ones. The documentation and implementation > layout is confusing though, as they're interleaved with the callable > introspection operation This commit undeprecates these functions and adds a note to ignore previous deprecation notices. (cherry picked from commit 0899b98)
ncoghlan pushed a commit that referenced this pull request
) (#243) Nick Coghlan said on bpo-28814: > inspect.getargvalues() and inspect.formatargvalues() were deprecated > in Python 3.5 as part of implementing bpo-20438 > This is incorrect, as these are *frame* introspection related functions, > not callable introspection ones. The documentation and implementation > layout is confusing though, as they're interleaved with the callable > introspection operation This commit undeprecates these functions and adds a note to ignore previous deprecation notices. (cherry picked from commit 0899b98)
ncoghlan pushed a commit that referenced this pull request
) (#244) Nick Coghlan said on bpo-28814: > inspect.getargvalues() and inspect.formatargvalues() were deprecated > in Python 3.5 as part of implementing bpo-20438 > This is incorrect, as these are *frame* introspection related functions, > not callable introspection ones. The documentation and implementation > layout is confusing though, as they're interleaved with the callable > introspection operation This commit undeprecates these functions and adds a note to ignore previous deprecation notices. (cherry picked from commit 0899b98)
akruis pushed a commit to akruis/cpython that referenced this pull request
akruis pushed a commit to akruis/cpython that referenced this pull request
SonicField added a commit to SonicField/cpython that referenced this pull request
Reinstates block_map_n294_chain at 150 arms (n≈302 BBs) — the wiring fixture that exposed the Phoenix-introduced D-1775660617 RPO un-clamp bug at push 42 (then HALT'd via SIGABRT). Push 43 (4feb0d2) closed the bug; this push restores the canary now that it legitimately PASSes. Test entries: n=0/74/149/200 (low/mid/high-arm + default-miss path coverage), all asserted force_compile + correct execution. Coverage role: - 110-arm fixture (push 41, n≈223 BBs, no resize) — covers below-256 code path - 150-arm fixture (this commit, n≈302 BBs, resize-triggered) — covers >256 code path that GitRPOTraversal + un-clamped wrapper now handle - Together: empirical pair on the same fn-shape exercising both paths of hir_cfg_get_rpo + the cap=4096 paths in pass_output_type_c.c Coverage-Trigger Rule (Phoenix-presumed-regression policy, Alex 13:47:22Z + 13:48:14Z; advisory per supervisor 13:18:54Z): re-grep of parked-bug list (docs/parked-bug-audit-2026-04-24.md Groups A+C; 8 items) against the n≈302 BB fixture surface returns ZERO newly-reachable items (see chat 14:42:05Z for per-item disposition). Push 44 is the rule's first practical test; honoured-in-the-letter at birth. A/B coverage (pythia python#122 python#3 follow-up) discharged STRUCTURALLY per theologian 14:41:27Z: GetRPOTraversal is deterministic on CFG state; the cap parameter controls only caller-buffer write count, not algorithm output. Same-function pre-sized-vs-resize empirical A/B (option i) would require a debug-only cap-setter knob (multi-hour infra) and would add empirical-on-empirical, not new evidence about the determinism claim. Tie-breaking happens INSIDE GetRPOTraversal which receives the CFG, not the caller's output buffer; caller-buffer realloc cannot reach that surface. Pre-commit discipline: bash -n PASS; no C/C++ source touched (push 43 binary 4feb0d2 remains current per testkeeper 14:42:44Z). Auth chain: theologian 13:46:04Z (A/B fold-in proposal) + 14:41:27Z ((ii) APPROVE + structural defense); supervisor 14:39:27Z (push 43 + push 44 plan) + 14:41:00Z (proceed-(ii)-unless-objected); testkeeper pre-commit lint 14:42:44Z; alex 13:47:22Z + 13:48:14Z policy directives.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters