Your IP : 18.119.0.68
�
���g � �N � S r / SQr0 rS rS
S jrS
S jrS
S jrS
S jrS rS r g)z�Cache lines from Python source files.
This is intended to read lines from modules imported -- hence if a filename
is not found, it will look down the module search path for a file by
that name.
)�getline�
clearcache�
checkcache� lazycachec �, � [ R 5 g)zClear the cache entirely.N)�cache�clear� � �0/opt/alt/python313/lib64/python3.13/linecache.pyr r s � � �K�K�Mr
Nc �Z � [ X5 nSUs=:: a [ U5 :: a
O gX1S-
$ g)zzGet a line for a Python source file from the cache.
Update the cache if it doesn't contain an entry for this file already.� � )�getlines�len)�filename�lineno�module_globals�liness r r r s4 � �
�X�.�E��F� �c�%�j� �
� �a�Z� � �
r
c � � U [ ; a$ [ U n[ U5 S:w a [ U S $ [ X5 $ ! [ a [ 5 / s $ f = f)z}Get the lines for a Python source file from the cache.
Update the cache if it doesn't contain an entry for this file already.r
� )r r �updatecache�MemoryErrorr )r r �entrys r r r sX � � �5���h����u�:��?���?�1�%�%���8�4�4��� ���� ��s �
; �A�Ac �� � U c# [ R 5 R 5 nOU /nU Hu n [ U n[ U5 S:X a M Uu p4pVUc M( SSKn UR U5 nX8R :w d XHR :w d M_ [ R U S5 Mw g! [ a M� f = f! [ a gf = f! [ [ 4 a [ R U S5 M� f = f)zQDiscard cache entries that are out of date.
(This is not checked upon each call!)Nr
� )
r �copy�keys�KeyErrorr �os�ImportError�stat�OSError�
ValueError�pop�st_size�st_mtime) r � filenamesr �size�mtimer �fullnamer r! s r r r / s� � � ���J�J�L�%�%�'� ��J� ��� ��(�O�E� �u�:��?��',�$��U��=�� �� ��7�7�8�$�D� �<�<��5�M�M�#9��I�I�h��%�/ �� � �� �� � �� �� ��$� ��I�I�h��%�� �s5 � B&�B7�C�&
B4�3B4�7
C�C�&C2�1C2c � � SSK nSSKnSSKnU [ ; a, [ [ U 5 S:w a [ R U S5 U ( a, U R
S5 ( a U R S5 ( a / $ U n UR U5 n UR'