Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Include/object.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ A standard interface exists for objects that contain an array of items
whose size is determined when the object is allocated.
*/

/* Py_DEBUG implies Py_REF_DEBUG. */
#if defined(Py_DEBUG) && !defined(Py_REF_DEBUG)
/* Py_DEBUG implies Py_REF_DEBUG, unless explicitly disabled. */
#if defined(Py_DEBUG) && !defined(Py_NO_PY_REF_DEBUG) && !defined(Py_REF_DEBUG)
# define Py_REF_DEBUG
#endif

Expand Down
4 changes: 2 additions & 2 deletions PC/pyconfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ WIN32 is still required for the locale module.
#endif
#endif /* Py_BUILD_CORE || Py_BUILD_CORE_BUILTIN || Py_BUILD_CORE_MODULE */

/* _DEBUG implies Py_DEBUG */
#ifdef _DEBUG
/* _DEBUG implies Py_DEBUG, unless explicitly disabled. */
#if defined(_DEBUG) && !defined(Py_WIN_NO_PY_DEBUG) && !defined(Py_DEBUG)
# define Py_DEBUG 1
#endif

Expand Down
Loading