mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
gh-142038: Expand guard for types_world_is_stopped() to fix debug builds without assertions (#142039)
This commit is contained in:
parent
7e5fcae09b
commit
f6f456f950
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ class object "PyObject *" "&PyBaseObject_Type"
|
|||
|
||||
#define END_TYPE_DICT_LOCK() Py_END_CRITICAL_SECTION2()
|
||||
|
||||
#ifndef NDEBUG
|
||||
#if !defined(NDEBUG) || defined(Py_DEBUG)
|
||||
// Return true if the world is currently stopped.
|
||||
static bool
|
||||
types_world_is_stopped(void)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue