Skip to content

Commit 615cdd2

Browse files
committed
Turn off stackref debugger by default
1 parent a3166f9 commit 615cdd2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Include/internal/pycore_stackref.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ extern "C" {
55
#endif
66

77
// Define this to get precise tracking of stackrefs.
8-
#define Py_STACKREF_DEBUG 1
8+
// #define Py_STACKREF_DEBUG 1
99

1010
// Define this to get precise tracking of closed stackrefs.
1111
// This will use unbounded memory, as it can only grow.
1212
// Use this to track double closes in short-lived programs
13-
#define Py_STACKREF_CLOSE_DEBUG 1
13+
// #define Py_STACKREF_CLOSE_DEBUG 1
1414

1515
#ifndef Py_BUILD_CORE
1616
# error "this header requires Py_BUILD_CORE define"

0 commit comments

Comments
 (0)