/
var
/
opt
/
nydus
/
ops
/
customer_local_ops
/
util
/
__pycache__
/
up file
home
� =�j � � � d Z ddlZddlZddlZej dd dk( Zej dd dk( Zej dd dk( Zej dd dk( Zej dd dk\ Z ej � dk( Zd � Zd � Z y)z� Compatibility utilities for supporting multiple Python versions. This module provides utilities and workarounds to ensure compatibility across Python 3.5 through Python 3.12, with special attention to Windows-specific issues. � N� )� � )r � )r � )r � �Windowsc �n � t r/t r(t j t j � � yyy)a7 Set up the appropriate event loop for Windows in Python 3.8+. Python 3.8 changed the default event loop on Windows from SelectorEventLoop to ProactorEventLoop. This can cause compatibility issues with some libraries. This function ensures we use the SelectorEventLoop for consistency. N)� IS_WINDOWS� PY38_PLUS�asyncio�set_event_loop_policy�WindowsSelectorEventLoopPolicy� � �O/opt/nydus/tmp/pip-target-hb7welcc/lib/python/customer_local_ops/util/compat.py�setup_windows_event_loopr s'