◐ Shell
clean mode source ↗

email.compat32-message.rst: Fix typo in the word `message` by Mariatta · Pull Request #379 · python/cpython

SonicField added a commit to SonicField/cpython that referenced this pull request

@SonicField

…test.

Closes supervisor 15:29:12Z scope addition (per shepard 15:28:27Z falsifier
flag + pythia python#379 python#3): without a deliberately-broken commit driving
JIT_TEST_COUNTER counter-mode to FAIL, the counter was "static-assert
dressed as runtime detection".

Adds t_negative_leak_detection in test_unlinked_instr.cpp (gated by
JIT_TEST_COUNTER): allocates 10 instructions with operands, deliberately
leaks the last one (skips delete), then asserts the counter delta is
2*(N-1) NOT 2*N — proving the gate detects the missed free.

Negative-test outcome:
- delta == 2*N -> gate missed the leak -> test FAIL
- delta == 2*(N-1) -> gate correctly detected leak via counter -> test PASS
- delta == anything else -> unexpected -> test FAIL

Build invocation: c++ -DJIT_TEST_COUNTER -I. -I../../../Include
test_unlinked_instr.cpp; runs 4 tests (3 prior + new negative); negative
test PASSES if and only if leak detection mechanism actually fires.

Miss self-attribution: chat-recheck-before-commit lapse on f47e4bf —
supervisor 15:29:12Z scope addition arrived after my 15:24:00Z WT-DIRTY
ack but before my 15:36:26Z WT-CLEAN claim. Per [chat_recheck_before_claim]
should have re-read chat before commit. Same failure-mode as theologian
5a8ea9c earlier in session.

Net: +49 LOC test_unlinked_instr.cpp.