mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +00:00
GH-113486: Do not emit spurious PY_UNWIND events for optimized calls to classes. (GH-113680)
This commit is contained in:
parent
ed6ea3ea79
commit
0ae60b66de
6 changed files with 64 additions and 28 deletions
|
|
@ -2534,7 +2534,7 @@ const struct _PyCode_DEF(8) _Py_InitCleanup = {
|
|||
.co_consts = (PyObject *)&_Py_SINGLETON(tuple_empty),
|
||||
.co_names = (PyObject *)&_Py_SINGLETON(tuple_empty),
|
||||
.co_exceptiontable = (PyObject *)&_Py_SINGLETON(bytes_empty),
|
||||
.co_flags = CO_OPTIMIZED,
|
||||
.co_flags = CO_OPTIMIZED | CO_NO_MONITORING_EVENTS,
|
||||
.co_localsplusnames = (PyObject *)&_Py_SINGLETON(tuple_empty),
|
||||
.co_localspluskinds = (PyObject *)&_Py_SINGLETON(bytes_empty),
|
||||
.co_filename = &_Py_ID(__init__),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue