summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2024-01-05 09:45:22 (GMT)
committerGitHub <noreply@github.com>2024-01-05 09:45:22 (GMT)
commit0ae60b66dea5140382190463a676bafe706608f5 (patch)
treef3cb44d3f9b90ec14d6cddde5687f72ca4e776f3 /Include
parented6ea3ea79fac68b127c7eb457c7ecb996461010 (diff)
downloadcpython-0ae60b66dea5140382190463a676bafe706608f5.zip
cpython-0ae60b66dea5140382190463a676bafe706608f5.tar.gz
cpython-0ae60b66dea5140382190463a676bafe706608f5.tar.bz2
GH-113486: Do not emit spurious PY_UNWIND events for optimized calls to classes. (GH-113680)
Diffstat (limited to 'Include')
-rw-r--r--Include/cpython/code.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/cpython/code.h b/Include/cpython/code.h
index cf715c5..1f47d99 100644
--- a/Include/cpython/code.h
+++ b/Include/cpython/code.h
@@ -208,6 +208,8 @@ struct PyCodeObject _PyCode_DEF(1);
#define CO_FUTURE_GENERATOR_STOP 0x800000
#define CO_FUTURE_ANNOTATIONS 0x1000000
+#define CO_NO_MONITORING_EVENTS 0x2000000
+
/* This should be defined if a future statement modifies the syntax.
For example, when a keyword is added.
*/