MCPcopy Index your code
hub / github.com/python/cpython / _init_event_loop_policy

Function _init_event_loop_policy

Lib/asyncio/events.py:787–795  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

785
786
787def _init_event_loop_policy():
788 global _event_loop_policy
789 with _lock:
790 if _event_loop_policy is None: # pragma: no branch
791 if sys.platform == 'win32':
792 from .windows_events import _DefaultEventLoopPolicy
793 else:
794 from .unix_events import _DefaultEventLoopPolicy
795 _event_loop_policy = _DefaultEventLoopPolicy()
796
797
798def _get_event_loop_policy():

Callers 1

_get_event_loop_policyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…