§ {<ˆj‚ ã ó8 — d Z ddlmZ ddlZddlZddlZddlmZm Z m Z mZmZ ddl mZ ddlmZmZ ddlmZmZmZ ddlmZmZmZ dd lmZ dd lmZmZ ddlm Z ddl!m"Z"m#Z#m$Z$m%Z% erdd l m&Z& ee¦ « Zdd„Z'dd„Z(dd„Z)dd„Z*dd„Z+ G d„ de ¦ « Z,dS ) z'Python source expertise for coverage.pyé )ÚannotationsN)ÚDictÚIterableÚOptionalÚSetÚ TYPE_CHECKING)Úenv)ÚCoverageExceptionÚNoSource)Úcanonical_filenameÚrelative_filenameÚzip_location)Ú expensiveÚisolate_moduleÚ join_regex)ÚPythonParser)Úsource_token_linesÚsource_encoding)ÚFileReporter)ÚTArcÚTLineNoÚTMorfÚTSourceTokenLines)ÚCoverageÚfilenameÚstrÚreturnÚbytesc óÎ — t | d¦ « 5 }| ¦ « }ddd¦ « n# 1 swxY w Y | dd¦ « dd¦ « S )zFRead the Python source text from `filename`. Returns bytes. ÚrbNs ó ó )ÚopenÚreadÚreplace)r ÚfÚsources úc/builddir/build/BUILD/cloudlinux-venv-1.0.12/venv/lib64/python3.11/site-packages/coverage/python.pyÚread_python_sourcer) s™ € õ ˆh˜Ñ Ô ð Ø—’‘”ˆðð ð ñ ô ð ð ð ð ð ð øøøð ð ð ð ð �>Š>˜' 5Ñ)Ô)×1Ò1°%¸Ñ?Ô?Ð?s ‘2²6¹6c óÖ — t j | ¦ « \ }}|dk rt j rddg}n|g}|D ]J}||z }t j |¦ « rt |¦ « } n't |¦ « }|� nŒKt d| › d�¦ « ‚| dd¦ « }| t |¦ « d¦ « }|r|d d k r|d z }|S )z#Return the source code, as unicode.ú.pyz.pywNzNo source for code: 'z'.ó ó r% éÿÿÿÿú )ÚosÚpathÚsplitextr ÚWINDOWSÚexistsr) Ú get_zip_bytesr r% Údecoder )r ÚbaseÚextÚextsÚtry_filenameÚsource_bytesr' s r( Úget_python_sourcer<