Edit File: compileall.cpython-311.opt-2.pyc
� �����fO���������������������������� �d�dl�Z�d�dlZd�dlZd�dlZd�dlZd�dlZd�dlmZ�d�dl m Z �g�d�Zdd�Z � � �dddddd �d �Z � � �dddddd �d�Z � � �dd�Zd ��Zedk����r&�e�e���������������������������Z�ej��������e�������������dS�dS�)�����N)�partial)�Path)�compile_dir�compile_file�compile_pathc��������������#���� ��K����|dk�����r.t����������|�t����������j��������������������rt����������j��������|�������������}�|s"t ����������d���������������������|�������������������������� �t����������j��������|�������������}n:#�t����������$�r-�|dk�����r"t ����������d���������������������|��������������������������g�}Y�nw�xY�w|������������������������������������|D�]�}|dk����r� t����������j ��������� ��������������������|�|������������}t����������j �����������������������������|������������s|V����M|dk����ry|t����������j��������k����ri|t����������j ��������k����rYt����������j �����������������������������|������������r:t����������j �����������������������������|������������st����������||dz ��|�������������E�d�{V������d�S�)N����zListing {!r}...zCan't list {!r}�__pycache__r�������)� maxlevels�quiet)� isinstance�os�PathLike�fspath�print�format�listdir�OSError�sort�path�join�isdir�curdir�pardir�islink� _walk_dir)�dirr���r ����names�name�fullnames��� �1/opt/alt/python311/lib64/python3.11/compileall.pyr���r������s�����������q�y�y�Z��R�[�1�1�y��i��n�n����-� ��&�&�s�+�+�,�,�,��� �3��������������1�9�9��#�*�*�3�/�/�0�0�0���������� �J�J�L�L�L��� .�� .���=� � ���7�<�<��T�*�*���w�}�}�X�&�&�� .��N�N�N�N��!�m�m��� � 1� 1�d�b�i�6G�6G��g�m�m�H�%�%��7H�.0�g�n�n�X�.F�.F��7H� ��Y��]�',�.��.��.�� .�� .�� .�� .�� .�� .�� .�� .�� .s����A1��14B(�'B(F���r�����stripdir� prependdir� limit_sl_dest�hardlink_dupesc �����������������R���� �d�}|�| �|�t����������d�������������|�|�} |}d�}|dk�����rt����������d�������������|dk����r*ddlm}� ��|���������������ddlm}�n#�t ����������$�r�d}Y�nw�xY�w|�t ����������j����������������������}t����������|�||�������������}d}|dk����rp|�n|pd�}�||� ������������5�}|� ��������������������t����������t����������||||||| | ||| � ������������|������������}t����������|d�������������}d�d�d��������������n#�1�swxY�w�Y���n"|D�]}t����������|||||||| | ||| �������������sd }� |S�)N�PDestination dir (ddir) cannot be used in combination with stripdir or prependdirr���z%workers must be greater or equal to 0r���)�_check_system_limits)�ProcessPoolExecutor)r ���r���T)�max_workers)�ddir�force�rxr ����legacy�optimize�invalidation_moder%���r&���r'���r(���)�defaultr$���F) � ValueError�concurrent.futures.processr+����concurrent.futuresr,����NotImplementedError�sys�getrecursionlimitr����mapr���r����min)r���r���r.���r/���r0���r ���r1���r2����workersr3���r%���r&���r'���r(���r,���r+����files�success�executor�results�files��� r"���r���r���0���s4������0�����X�1�Z�5K���G��I��I�� I������ �����{�{��@�A�A�A��!�|�|�C�C�C�C�C�C� ?� � �"�"�"�� ?�>�>�>�>�>�>���#�� �� �� ��G�G�G� ��������)�+�+� ��c��)�<�<�<�E��G��!�|�|�+�7��/�T�� � �W� 5� 5� 5�� 1���l�l�7�<�04�E�.0��28�4<�=N�4<�6@�9F�:H� $J�� $J�� $J��$)� *�� *�G���'�4�0�0�0�G� 1�� 1�� 1�� 1�� 1�� 1�� 1�� 1�� 1�� 1�� 1����� 1�� 1�� 1�� 1����� �� �D���d�E�2�u� &��2C�)1�j�.;�/=� ?��?��?�� � � ����Ns%���� A��A#�"A#�'AC9�9C=��C=c���������� �������l���� �|�|�| �t����������d�������������d}t����������j��������|�������������}�|�t����������j��������|������������nd�}t����������j�����������������������������|�������������} d�}|� t����������j�����������������������������|| ������������}|��|����������������������t����������j��������j��������������������}|���������������������t����������j��������j��������������������}t����������|������������}t����������||������������D�] \��}}||k����r|� ��������������������|��������������!t����������j��������j��������|��}| �C|�!t����������j�����������������������������| |�������������}n t����������j�����������������������������| |������������}t����������|t����������������������r|g}t����������t����������|������������������������}|r"t����������|������������dk�����rt����������d�������������|�|���������������������|�������������}|r|S�| �ht����������j�����������������������������|�������������rIt%����������| �����������������������������������������������t%����������|������������������������������������������������j��������vr|S�i�}t����������j�����������������������������|��������������rK|D�]h}|r |�dz���||<���� |dk����r1|dk����r|nd}t,����������j�����������������������������|�|� ������������}|||<����Dt,����������j�����������������������������|�������������}|||<����i| d�d ����������| d d�����������}}|dk�����r�|s� �t����������t����������j��������|�������������j��������������������}t7����������j��������dt,����������j��������j��������d|d z��������������}|�����������������������������������D�]G}t?����������|d������������5�}|� ��������������������d������������}d�d�d��������������n#�1�swxY�w�Y���||k����r�n�H|S�n#�tB����������$�r�Y�nw�xY�w|s"tE����������d�#��������������������|�������������������������� �tI����������|������������D�]�\��}}||���������}tK����������j&��������|�||d||�������������} |dk����rS|rQ|||dz ��������������������}!tO����������j(��������||!d�������������r)t����������j)��������|�������������t����������j*��������|!|��������������� �| dk����rd}�nD#�tJ����������j+��������$�r�}"d}|dk����r|cY�d�}"~"S�|r#tE����������d�#��������������������|��������������������������ntE����������dd��������������tX����������j-��������j.��������ptY����������j/����������������������}#|"j0���������1��������������������|#d��������������2��������������������|#������������}$tE����������|$�������������Y�d�}"~"n�d�}"~"wtf����������th����������tB����������f$�rl}%d}|dk����r|cY�d�}%~%S�|r#tE����������d�#��������������������|��������������������������ntE����������dd��������������tE����������|%j5��������j6��������dz���|%�������������Y�d�}%~%nd�}%~%ww�xY�w|S�)Nr*���Tr ���zXHardlinking of duplicated bytecode makes sense only for more than one optimization level�cr���r�����)�optimization���z.pyz<4sLLl�������rb����zCompiling {!r}...)r2���r3���F)�shallowz*** Error compiling {!r}...z*** )�end�backslashreplace)�errors�:)7r5���r���r���r����basenamer����split�sep�list�zip�remover����int�sorted�set�len�searchr���r����resolve�parents�isfile� importlib�util�cache_from_source�stat�st_mtime�struct�pack�MAGIC_NUMBER�values�open�readr���r���r���� enumerate� py_compile�compile�filecmp�cmp�unlink�link�PyCompileErrorr9����stdout�encoding�getdefaultencoding�msg�encode�decode�SyntaxError�UnicodeError� __class__�__name__)&r!���r.���r/���r0���r ���r1���r2���r3���r%���r&���r'���r(���r?���r ����dfile�fullname_parts�stripdir_parts� ddir_parts�spart�opart�mo� opt_cfiles� opt_level�opt�cfile�head�tail�mtime�expect�chandle�actual�index�ok�previous_cfile�errrq���rs����es&��� r"���r���r���}���s~������.���X�1�Z�5K���G��I��I�� I���G��y��"�"�H�&.�&:�r�y��"�"�"��H� �7���H�%�%�D��E�������T�4�(�(����!������4�4��!������4�4���.�)�)� ����?�?�� )�� )�L�E�5���~�~��!�!�%�(�(�(�����j�)�����=��G�L�L��X�6�6�E�E��G�L�L��U�3�3�E��(�C� � ����:����c�(�m�m�$�$�H���G�#�h�-�-�!�+�+���F��G��G�� G�� �~� �Y�Y�x� � �� �� ��N�� �R�W�^�^�H�%=�%=� �� ���&�&�(�(��X���0F�0F�0H�0H�0P�P�P��N��J� �w�~�~�h����B$�!�� 2�� 2�I��� 2�(0�3�� �9�%�%���>�>�'0�A�~�~�)�)�2�C�&�^�=�=�%�C��>��9��9�E�,1�J�y�)�)�%�N�<�<�X�F�F�E�,1�J�y�)�)��#�2�#�Y��R�S�S� �d���5�=�=��� ������ 1� 1� :�;�;�E�#�[��)�.�2M�)*�E�K�,?�A��A�F�!+�!2�!2�!4�!4��'��'��!�%��.�.��6�'�%,�\�\�"�%5�%5�F�6��6��6��6��6��6��6��6��6��6��6�����6��6��6��6�!�V�+�+�!�E��,�� '���"�����������D������� <��)�0�0��:�:�;�;�;�" $�(1�(�(;�(;�� ;�� ;�$�E�9�&�y�1�E�#�+�H�e�U�D�5>�>O�Q��Q��Q�B���q�y�y�^�y�)3�H�U�Q�Y�4G�)H��"�;�u�n�e�L�L�L��;��I�e�,�,�,��G�N�E�:�:�:�� ;�@���7�7�#�G���/��,�� �� �� ����A�:�:�"�N�N�N�N�N�N���*��7�>�>�x�H�H�I�I�I�I��&�b�)�)�)�)��:�.�J�#�2H�2J�2J���g�n�n�X�6H�n�I�I�P�P�QY�Z�Z���c� � � � � � � � �������w�7�� 5�� 5�� 5����A�:�:�"�N�N�N�N�N�N���*��7�>�>�x�H�H�I�I�I�I��&�b�)�)�)�)��a�k�*�S�0�!�4�4�4�4�4�4�4�4����� 5������Nsv����2A5N ��'N �=N �� N � N ��N � N �� N-�,N-�BQ0��0V1�? T+�V1�BT+�+V1� V,�V1�AV,�,V1c����������������������� �d}t�����������j��������D�]E}|r|t����������j��������k����r|�r|dk�����rt ����������d��������������,|ot����������||d�|||||�������������}�F|S�)NTr ���zSkipping current directory)r ���r1���r2���r3���)r9���r���r���r���r���r���) �skip_curdirr���r/���r ���r1���r2���r3���r?���r���s ��� r"���r���r�����s����������G��x�������� �s�b�i�'�'�[�'��q�y�y��2�3�3�3���� �+�������!�"3� #�� #�� #�G�G���N�����c�������������������� ���� �dd�l�}�|����������������������d�������������}|���������������������dddd�dd��������������|���������������������d t����������d d��������������|���������������������d ddd��������������|���������������������ddddd��������������|���������������������dddd��������������|���������������������dddd�d��������������|���������������������dd d!d�d"��������������|���������������������d#d$d%d�d&��������������|���������������������d'd(d)d�d*��������������|���������������������d+d,d-d.�/�������������|���������������������d0d1d2d3�4�������������|���������������������d5d6d7t����������d8�9�������������d:��t����������j��������D���������������}|���������������������d;t ����������|������������d<�=�������������|���������������������d>d?t����������d@dA�B�������������|���������������������dCdDdEdF�/�������������|���������������������dGddHdI��������������|�����������������������������������}|j��������}|j ��������r#dd�l }|���������������������|j ��������������������|_ ��������|j��������dJk����rd�|_��������|j ���������|j ��������}n|j��������}|j���������dKg|_��������t!����������|j��������������������d7k����r|j��������r|���������������������dL�������������|j���������#|j���������|j���������|���������������������dM�������������|j��������r� �|j��������dNk����rt.����������j��������nt3����������|j��������dO�P������������5�}|D�])}|���������������������|�������������������������������������������������* �d�d�d��������������n#�1�swxY�w�Y���nC#�t8����������$�r6�|j��������dQk�����r't=����������dR���������������������|j���������������������������������Y�dSS�w�xY�w|j ��������r@|j ���������!��������������������dNdT�������������"����������������������������������} t����������j��������| ���������} nd�} dU} �|r�|D�]�}tF����������j$���������%��������������������|������������rPtM����������||j��������|j'��������|j ��������|j��������|j(��������| |j��������|j��������|j��������|j��������|j���������V������������sdS}�qtS����������|||j��������|j'��������|j ��������|j��������|j(��������|j*��������| |j��������|j��������|j��������|j��������|j���������W������������sdS}��|S�tW����������|j(��������|j'��������|j��������| �X������������S�#�tX����������$�r�|j��������dQk�����rt=����������dY�������������Y�dSS�w�xY�w)ZNr���z1Utilities to support installing Python libraries.)�descriptionz-l�store_constr���z!don't recurse into subdirectories)�action�constr4����dest�helpz-r� recursionzhcontrol the maximum recursion level. if `-l` and `-r` options are specified, then `-r` takes precedence.)�typer����r����z-f� store_truer/���z/force rebuild even if timestamps are up to date)r����r����r����z-q�countr ���zIoutput only error messages; -qq will suppress the error messages as well.)r����r����r4���r����z-br1���z0use legacy (pre-PEP3147) compiled file locationsz-d�DESTDIRr.���z�directory to prepend to file paths for use in compile-time tracebacks and in runtime tracebacks in cases where the source file is unavailable)�metavarr����r4���r����z-s�STRIPDIRr%���z�part of path to left-strip from path to source file - for example buildroot. `-d` and `-s` options cannot be specified together.z-p� PREPENDDIRr&���z�path to add as prefix to path to source file - for example / to make it absolute when some part is removed by `-s` option. `-d` and `-p` options cannot be specified together.z-x�REGEXPr0���zskip files matching the regular expression; the regexp is searched for in the full path of each file considered for compilationz-i�FILE�flistzzadd all the files and directories listed in FILE to the list considered for compilation; if "-", names are read from stdin)r����r����r�����compile_destzFILE|DIR�*zrzero or more file and directory names to compile; if no arguments given, defaults to the equivalent of -l sys.path)r�����nargsr����z-jz --workersr���zRun compileall concurrently)r4���r����r����c������������������h�����g�|�]/}|j�����������������������������������������������������������������d�d��������������0S�)�_�-)r ����lower�replace)�.0�modes��� r"���� <listcomp>zmain.<locals>.<listcomp>i��sJ�������F��F��F�"���)�/�/�+�+�3�3�C��=�=��F��F��Fr����z--invalidation-modez�set .pyc invalidation mode; defaults to "checked-hash" if the SOURCE_DATE_EPOCH environment variable is set, and "timestamp" otherwise.)�choicesr����z-o�append� opt_levelsz�Optimization levels to run compilation with. Default is -1 which uses the optimization level of the Python interpreter itself (see -O).)r����r����r����r����z-e�DIRr'���z+Ignore symlinks pointing outsite of the DIRz--hardlink-dupesr(���zHardlink duplicated pyc filesrE���r#���zYHardlinking of duplicated bytecode makes sense only for more than one optimization level.z.-d cannot be used in combination with -s or -pr����zutf-8)rq���r ���zError reading file list {}Fr����T)r3���r%���r&���r2���r'���r(���)r=���r3���r%���r&���r2���r'���r(���)r1���r/���r ���r3���z [interrupted])-�argparse�ArgumentParser�add_argumentrU���ri����PycInvalidationModerV���� parse_argsr����r0����rerj���r'���r����r���r����rX���r(����errorr.���r%���r&���r����r9����stdinrf���r�����stripr���r ���r���r���r3���r�����upperr���r���r\���r���r/���r1���r���r=���r����KeyboardInterrupt) r�����parser�invalidation_modes�args� compile_destsr����r����f�line�ivl_moder3���r?���r����s ��� r"����mainr����4��s��������O�O�O� � $� $�G��%��I��I�F� ����]�!� $�;�@����B��B��B������3�[�<����>��>��>������\��N����P��P��P� ����W�7�A�;����<��<��<������\��O����Q��Q��Q� ����i�v�t�,����.��.��.� �����j� � $�4����6��6��6������l�,� $�4����6��6��6������h�T�4�H����J��J��J������f�7�B����D��D��D������ �#�A����C��C��C������k�1� �'D����F��F��F�F��F�&0�&D�F��F��F�� ���-� &�'9� :� :�7����9��9��9������X�C�l�K����M��M��M������e�/�J����L��L��L� ���*�<�-�<����>��>��>�������D��%�M��w��&�� � � ��*�*�T�W�%�%�����R���!����~�!��N� � ��N� �����$��� �4�?���q� � �T�%8� �����C�� E�� E�� E���y��� �!�T�_�%@����E�F�F�F���z�� � �#�z�3���#�)�)����g�6�6�6� 7�;<���7��7�D�!�(�(������6�6�6�6�7� 7�� 7�� 7�� 7�� 7�� 7�� 7�� 7�� 7�� 7�� 7����� 7�� 7�� 7�� 7������ �� �� ��z�A�~�~��2�9�9�$�*�E�E�F�F�F��5�5� ���� ����!��)�1�1�#�s�;�;�A�A�C�C��&�:�8�D��� ���G� ��� E�%�� (�� (���7�>�>�$�'�'��(�'��d�i���T�W�(,� �D�K�:K�15��37�?�15��6:�6H�7;�7J�L��L��L��(��#(���&�t�Y�� �'+�z�4�7�D�J�'+�{�D�L�9J�04� �26�/�04��59�5G�6:�6I�K��K��K�� (��#(����N��t�{�$�*�&*�j�2C�E��E��E�� E�����������:��>�>��#�$�$�$��u�u����sO����-L;��5-L/�#L;��/L3�3L;��6L3�7L;��;<M;�:M;� C R:��!R:��:$S"�!S"�__main__)r���) NNFNr���Fr#���r���N)NFNr���Fr#���N)r���r���Fr���Fr#���N)r���r9����importlib.utilr]���ri���rb���rk���� functoolsr����pathlibr����__all__r���r���r���r���r����ry���rU����exit_status�exit��r����r"����<module>r�������sx������ � � � �� � � � ������������������ � � � ������������������������������ 7� 7� 7��.��.��.��.�.�7<�EF�"&�K�48��t�E�K��K��K��K��K�Z�CD�(*�#'�S�59�d�#�E�S��S��S��S��S�j�AB�(*�#'��������DV��V��V�r��z����#�$�$�&�&�j�/�/�K��C�H�[��������r����