Skip to content

[backport to 3.5] bpo-28598: Support __rmod__ for RHS subclasses of s…#93

Closed
mjpieters wants to merge 0 commit intopython:3.5from
mjpieters:3.5
Closed

[backport to 3.5] bpo-28598: Support __rmod__ for RHS subclasses of s…#93
mjpieters wants to merge 0 commit intopython:3.5from
mjpieters:3.5

Conversation

@mjpieters
Copy link
Copy Markdown
Contributor

Backport for #51

@mjpieters mjpieters closed this Feb 14, 2017
akruis pushed a commit to akruis/cpython that referenced this pull request Sep 9, 2017
…w() and tasklet.raise_exception()

Unify the methods and update the documentation and changelog.txt.
See changelog.txt for details.
Add a test cases for tasklet.kill, and tasklet.throw.

https://bitbucket.org/stackless-dev/stackless/issues/93
(grafted from 1399a7b0c676c77fd6d491e74fe535f633529f0b and 0406cb0e9b05)
akruis pushed a commit to akruis/cpython that referenced this pull request Sep 9, 2017
…w() and tasklet.raise_exception()

Adapt a test case to the new behavior of tasklet.raise_exception(exc_class, *args). Now it raises RuntimeError on errors.
akruis pushed a commit to akruis/cpython that referenced this pull request Sep 9, 2017
akruis pushed a commit to akruis/cpython that referenced this pull request Sep 9, 2017
akruis referenced this pull request in stackless-dev/stackless Sep 21, 2017
…d tasklet.raise_exception()

Adapt a test case to the new behavior of tasklet.raise_exception(exc_class, *args). Now it raises RuntimeError on errors.
jaraco pushed a commit that referenced this pull request Dec 2, 2022
jaraco added a commit to jaraco/cpython that referenced this pull request Feb 17, 2023
SonicField added a commit to SonicField/cpython that referenced this pull request Apr 23, 2026
Delete the pending_b2_blocks_ Class B vector + struct PendingBlock +
drain loop in translate(). The W26-era refactor of emitInlineExceptionMatch
removed all writers but left the queue declaration + drain plumbing as
load-bearing-looking dead state.

Independent grep verification (theologian 23:35:58Z + librarian
23:50:24Z + spec §2.1 grep-writers-before-Step-A discipline per pythia
python#93): 4 reference sites, ZERO writers. Mutation patterns
push_back/emplace_back/insert/operator[]/resize/assign/reserve all
NOT FOUND across cpython/. PendingBlock struct unused outside the
deleted field.

Reframes Phase 3 spec §2 inventory: pending_b2_blocks_ marked DELETED
in §2.1 errata; the §5 forcing-decision propagation validation is
now deferred to Batch 4 (block_map_, the next Class B candidate)
with mandatory pre-Step-A writer-grep per spec §2.1 amendment.

NO new bridges, NO new W45 fixtures (delete-of-dead-state per shepard
22:46:33Z + supervisor 23:36:13Z carve-out). NOT counted toward
W45 §3.5 5-batch backstop per supervisor 23:49:22Z (current count
holds at 4: python#6+python#7 fold-into-C + Phase 3 Batch 1+2).

Numstat (vs HEAD 1343895):
  Python/jit/hir/builder.cpp           +0  -6   (drain loop + clear)
  Python/jit/hir/builder.h             +0  -8   (struct + vector field)
  Python/jit/hir/builder_state_c.h     +4  -3   (Class B doc-list refresh
                                                  + dead-state footnote)
TOTAL: NET -13L pure deletion (forecast -15L; -2L variance).

Pre-commit compile-check: testkeeper 23:52:59Z BUILD_EXIT=0,
3-test sanity green (partial_conversions + W22 + W44).

W44 gate: PASS (2 markers, 0 production callers).

Authorization: theologian 23:35:58Z + supervisor 23:36:13Z (A)
DEAD-DELETE only (split from getSimpleExceptInfo per theologian
different-shape-bisect-granularity reasoning).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants