8000 gh-105587: Remove assertion from `_PyStaticObject_CheckRefcnt` (#105638) · python/cpython@6199fe3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6199fe3

Browse files
gh-105587: Remove assertion from _PyStaticObject_CheckRefcnt (#105638)
1 parent dab5a3e commit 6199fe3

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