8000 [3.12] gh-105587: Remove assertion from `_PyStaticObject_CheckRefcnt`… · python/cpython@0a9346d · GitHub
[go: up one dir, main page]

Skip to content

Commit 0a9346d

Browse files
[3.12] gh-105587: Remove assertion from _PyStaticObject_CheckRefcnt (GH-105638) (#105769)
gh-105587: Remove assertion from `_PyStaticObject_CheckRefcnt` (GH-105638) (cherry picked from commit 6199fe3) Co-authored-by: Eddie Elizondo <eduardo.elizondorueda@gmail.com>
1 parent bc997b3 commit 0a9346d

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Include/internal/pycore_global_objects_fini_generated.h

Lines changed: 2 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
The runtime can't guarantee that immortal objects will not be mutated by
2+
Extensions. Thus, this modifies _PyStaticObject_CheckRefcnt to warn
3+
instead of asserting.

0 commit comments

Comments
 (0)
0