https://github.com/python/cpython/commit/8fecb9fa0b42f7dc18bd58b1bef56f967612e088
commit: 8fecb9fa0b42f7dc18bd58b1bef56f967612e088
branch: main
author: Chris Eibl <[email protected]>
committer: Fidget-Spinner <[email protected]>
date: 2025-01-25T18:33:26+08:00
summary:
Remove unused DPRINTF in ceval.c (GH-129282)
remove unused DPRINTF in ceval.c
files:
M Python/ceval.c
diff --git a/Python/ceval.c b/Python/ceval.c
index 171b383d547e35..1bdae338845758 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -1063,13 +1063,6 @@ _PyEval_EvalFrameDefault(PyThreadState *tstate,
_PyInterpreterFrame *frame, int
#undef ENABLE_SPECIALIZATION_FT
#define ENABLE_SPECIALIZATION_FT 0
-#ifdef Py_DEBUG
- #define DPRINTF(level, ...) \
- if (lltrace >= (level)) { printf(__VA_ARGS__); }
-#else
- #define DPRINTF(level, ...)
-#endif
-
; // dummy statement after a label, before a declaration
uint16_t uopcode;
#ifdef Py_STATS
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]