Searched refs:cr_origin (Results 1 – 7 of 7) sorted by relevance
/external/python/cpython3/Objects/ |
D | genobject.c | 142 Py_CLEAR(((PyCoroObject *)gen)->cr_origin); in gen_dealloc() 952 {"cr_origin", T_OBJECT, offsetof(PyCoroObject, cr_origin), READONLY}, 1132 PyObject *cr_origin = PyTuple_New(frame_count); in compute_cr_origin() local 1133 if (cr_origin == NULL) { in compute_cr_origin() 1144 Py_DECREF(cr_origin); in compute_cr_origin() 1147 PyTuple_SET_ITEM(cr_origin, i, frameinfo); in compute_cr_origin() 1151 return cr_origin; in compute_cr_origin() 1166 ((PyCoroObject *)coro)->cr_origin = NULL; in PyCoro_New() 1168 PyObject *cr_origin = compute_cr_origin(origin_depth); in PyCoro_New() local 1169 ((PyCoroObject *)coro)->cr_origin = cr_origin; in PyCoro_New() [all …]
|
/external/python/cpython3/Include/ |
D | genobject.h | 54 PyObject *cr_origin;
|
/external/python/cpython3/Lib/ |
D | warnings.py | 507 if coro.cr_origin is not None: 510 for filename, lineno, funcname in reversed(coro.cr_origin):
|
/external/python/cpython3/Lib/test/ |
D | test_coroutines.py | 2193 self.assertIsNone(coro.cr_origin) 2200 self.assertEqual(coro.cr_origin, 2211 self.assertEqual(coro.cr_origin, 2218 self.assertTrue(2 < len(coro.cr_origin) < 1000)
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.7.0b1.rst | 93 sys.set_coroutine_origin_tracking_depth and CoroutineType.cr_origin. This
|
/external/python/cpython3/Doc/library/ |
D | inspect.rst | 218 | | cr_origin | where coroutine was | 243 Add ``cr_origin`` attribute to coroutines.
|
D | sys.rst | 1260 enabled, the ``cr_origin`` attribute on coroutine objects will 1263 with the most recent call first. When disabled, ``cr_origin`` will
|