Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

bpo-27660: remove unnecessary overflow checks in list_resize#189

Merged
zhangyangyu merged 2 commits into
python:masterpython/cpython:masterfrom
zhangyangyu:list_resizezhangyangyu/cpython:list_resizeCopy head branch name to clipboard
Feb 22, 2017
Merged

bpo-27660: remove unnecessary overflow checks in list_resize#189
zhangyangyu merged 2 commits into
python:masterpython/cpython:masterfrom
zhangyangyu:list_resizezhangyangyu/cpython:list_resizeCopy head branch name to clipboard

Conversation

@zhangyangyu

Copy link
Copy Markdown
Member

No description provided.

@zhangyangyu zhangyangyu added the type-feature A feature request or enhancement label Feb 20, 2017
@vstinner vstinner self-requested a review February 20, 2017 14:04
@zhangyangyu zhangyangyu merged commit 4cee049 into python:master Feb 22, 2017
@zhangyangyu zhangyangyu deleted the list_resize branch February 22, 2017 04:32
akruis pushed a commit to akruis/cpython that referenced this pull request Oct 18, 2017
(Upstream is https://github.com/python/typing)

- Add TYPE_CHECKING (false at runtime, true in type checkers) (upstream python#230).
- Avoid error on Union[xml.etree.cElementTree.Element, str] (upstream python#229).
- Repr of Tuple[()] should be 'Tuple[()]' (upstream python#231).
- Add NewType() (upstream python#189).
pablogsal pushed a commit to pablogsal/cpython that referenced this pull request Nov 29, 2022
jaraco pushed a commit that referenced this pull request Dec 2, 2022
SonicField added a commit to SonicField/cpython that referenced this pull request Apr 27, 2026
…hon#189

Closes the spec-extrapolation gap surfaced by pythia python#189 2026-04-27:
kwnames_ probe (c2f255e, 1 LOC net) demonstrates single-commit
class-state migration WORKS for low-site-count fields. It does NOT
extrapolate to high-site-count fields (code_ at 46 sites, preloader_
at 28, current_func_ at ~30). 'The first thread pulled proves only
that thread can be pulled.'

Changes:

§4.A.5 step 3 reframed: same-commit-deletion = no parallel-state
interval = no equality DCHECK needed. ONLY for ≤5-site-class fields.

§4.A.5b (NEW): explicit DO-NOT-EXTRAPOLATE acknowledgment + per-field
complexity bracket (≤5/6-15/>15 sites → single/medium/multi-commit
with JIT_DCHECK equality required for the latter two) + pre-Pilot-5
per-field site-count audit grep + failure-mode predictions per
bracket.

§4.C Pilot 5: per-field bracket with measured site counts, mandatory
pre-audit step, JIT_DCHECK equality REQUIRED for all 4 remaining
fields (each is >5-site-class). Estimate revised from 25-40 commits
uniform to 13-19 commits per measured bracket.

Authored 2026-04-27 per pythia python#189 + supervisor 2026-04-27T10:13:10Z
(a)+(b)+(c)+(d) framing + theologian §4.C per-field bracket addition.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-feature A feature request or enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.