Skip to content

bpo-29532: Altering a kwarg dictionary passed to functools.partial()#190

Merged
serhiy-storchaka merged 1 commit intopython:masterfrom
serhiy-storchaka:master
Feb 20, 2017
Merged

bpo-29532: Altering a kwarg dictionary passed to functools.partial()#190
serhiy-storchaka merged 1 commit intopython:masterfrom
serhiy-storchaka:master

Conversation

@serhiy-storchaka
Copy link
Copy Markdown
Member

no longer affects a partial object after creation.

no longer affects a partial object after creation.
@serhiy-storchaka serhiy-storchaka merged commit 9639e4a into python:master Feb 20, 2017
serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this pull request Feb 20, 2017
…ython#190)

no longer affects a partial object after creation.
(cherry picked from commit 9639e4a)
@Mariatta
Copy link
Copy Markdown
Member

Mariatta commented Mar 7, 2017

This has been backported in GH-209 and GH-222, so I'm removing the needs backport .. label

akruis added a commit to akruis/cpython that referenced this pull request Dec 29, 2018
…llocation

Fix a few incorrect assertions introduced by commit 245a802.
A test in the upcoming commit for Stackless issue python#190 triggered an
assertion failure.
akruis added a commit to akruis/cpython that referenced this pull request Dec 29, 2018
…outines,

if they are running and deallocated as part of a paused, restorable
tasklet. This commit does not handle custom finalizers of asynchronous
generators.
akruis added a commit to akruis/cpython that referenced this pull request Dec 30, 2018
… coroutines

Silently ignore attempts to close a running generator, coroutine or asynchronous
generator. This avoids spurious error messages, if such an object is deallocated
as part of a paused, restorable tasklet.

This commit reverts the previous one.
akruis pushed a commit to akruis/cpython that referenced this pull request Dec 31, 2018
…r coroutines (python#195)

Silently ignore attempts to close a running generator, coroutine or asynchronous
generator. This avoids spurious error messages, if such an object is deallocated
as part of a paused, restorable tasklet.
akruis pushed a commit to akruis/cpython that referenced this pull request Jan 20, 2019
…r coroutines (python#195)

Silently ignore attempts to close a running generator, coroutine or asynchronous
generator. This avoids spurious error messages, if such an object is deallocated
as part of a paused, restorable tasklet.
(cherry picked from commit 905d0ef)
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
Closes three spec gaps surfaced by pythia python#190 2026-04-27:

(1) §4.A.5b add CALL-PATH SHAPE audit: site count alone insufficient,
shape (single-setter / multi-direct-assignment / write-during-iteration)
governs migration mode. SHAPE OVERRIDES COUNT — a 3-site multi-direct-
assignment field is migrated under multi-commit + DCHECK rule, not
single-commit. Per supervisor 2026-04-27T11:29:30Z (1).

(3) §4.A.5c NEW bracket-validation probe gate: the §4.A.5b
"DO-NOT-EXTRAPOLATE" annotation is a written warning, not a falsifier.
Each bracket beyond ≤5 single-setter (kwnames_-class) requires a
passed probe BEFORE cluster work commences. 3 probes: 6-15 single-
setter, 6-15 multi-direct-assignment, >15 multi-direct-assignment
(smallest in each class). Cost ~3-9 commits prep before ~13-19
commits of cluster work; acceptable de-risking. Per supervisor (3).

(2) §6 decision python#4 + §5.F prerequisite: compiler.cpp:236 caller
rewire reframed from "DEFER to Phase 4.D" to "HARD PREREQUISITE of
Phase 4.E close gate." Without rewire, builder.cpp's C++ Pass class
shell cannot delete (compiler.cpp consumes it) and §6 python#5 acceptance
"builder.cpp ≤ 200 LOC" is unreachable. §5.F now includes explicit
grep prerequisite check; FAIL → Phase 4 EXIT BLOCKED until rewire
lands. Per supervisor (2).

Authored 2026-04-27 per pythia python#190 + supervisor 2026-04-27T11:29:30Z.
"The first photon to reach the lens does not describe the star —
only that the lens works."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants