| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Change the url to 3.5 (cherry picked from commit 79ab8be) # Conflicts: # Doc/tools/extensions/pyspecific.py
|
@brettcannon would you prefer to do the cherry-pick yourself, to retain the authorship info? |
Sorry, something went wrong.
|
Nah, go for it. I'm still recuperating from the migration so no need to hold this up on my account. |
Sorry, something went wrong.
Provide background on the philosophy of importlib_resources Closes python#43 See merge request python-devs/importlib_resources!49
The CInt64[N] embedded in LOAD_ATTR_MODULE's inline cache (via LoadConst → CallStatic → CheckField<"maxsize">) is sys.__dict__'s keys-version counter at JIT compile time. Pydebug builds populate sys with extra attributes (sys.gettotalrefcount, etc.), bumping the version by +1 vs release builds. The delta is intrinsic to build mode, NOT a JIT codegen regression. Per W21 task python#43 + theologian-flagged ARM64 pydebug Step 4 sweep divergence (CInt64[65] → CInt64[66]). Investigation 2026-04-22 17:54Z (testkeeper) confirmed root cause: pydebug-only sys attrs. Fix: mode-aware golden file selection in test harness. - hasattr(sys, 'gettotalrefcount') detects pydebug - Pydebug → docs/golden/loadattr_hir.pydebug.txt (NEW, 288 lines) - Release → docs/golden/loadattr_hir.txt (unchanged) Dual-mode verified: x86_64 RelWithDebInfo: 1/1 PASS, 74ms (release golden) ARM64 pydebug: 1/1 PASS, 181ms (pydebug golden) Authorization chain: - supervisor [chat L1985] auth (A) mode-aware over (B) skip-pydebug - supervisor [chat L1995] standalone push 62 authorized Diff between the two goldens: 2 lines (lines 91 + 235), single constant value differs (CInt64[65] vs CInt64[66]). 286 of 288 lines identical.
| Back | FazBrowse Home | New Git URL |
Change the url to 3.5
(cherry picked from commit 79ab8be)