Skip to content

Commit

Permalink
[3.12] gh-105587: Remove assertion from _PyStaticObject_CheckRefcnt (
Browse files Browse the repository at this point in the history
…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>
  • Loading branch information
miss-islington and eduardo-elizondo committed Jun 14, 2023
1 parent bc997b3 commit 0a9346d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Include/internal/pycore_global_objects_fini_generated.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

@@ -0,0 +1,3 @@
The runtime can't guarantee that immortal objects will not be mutated by
Extensions. Thus, this modifies _PyStaticObject_CheckRefcnt to warn
instead of asserting.

0 comments on commit 0a9346d

Please sign in to comment.