MCPcopy Create free account
hub / github.com/fabioz/PyDev.Debugger / register_tasklet_info

Function register_tasklet_info

_pydevd_bundle/pydevd_stackless.py:157–163  ·  view source on GitHub ↗
(tasklet)

Source from the content-addressed store, hash-verified

155# register_tasklet_info
156# =======================================================================================================================
157def register_tasklet_info(tasklet):
158 r = weakref.ref(tasklet)
159 info = _weak_tasklet_registered_to_info.get(r)
160 if info is None:
161 info = _weak_tasklet_registered_to_info[r] = _TaskletInfo(r, tasklet)
162
163 return info
164
165
166_application_set_schedule_callback = None

Callers 3

get_tasklet_infoFunction · 0.85
_schedule_callbackFunction · 0.85
new_fFunction · 0.85

Calls 2

_TaskletInfoClass · 0.85
getMethod · 0.45

Tested by

no test coverage detected