HEX
Server: Microsoft-IIS/10.0
System: Windows NT ITPWINWEBSVR22 10.0 build 20348 (Windows Server 2022) AMD64
User: www.conferencesearch.co.uk (0)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: D:/Python311/Lib/__pycache__/compileall.cpython-311.opt-2.pyc
�

��Vc�P���	ddlZddlZddlZddlZddlZddlZddlmZddl	m
Z
gd�Zdd�Z			dddddd	�d
�Z
			dddddd	�d�Z			dd�Zd
�Zedkr&ee����Zeje��dSdS)�N)�partial)�Path)�compile_dir�compile_file�compile_pathc#� K�|dkr.t|tj��rtj|��}|s"t	d�|����	tj|��}n:#t$r-|dkr"t	d�|����g}YnwxYw|���|D]�}|dkr�	tj	�
||��}tj	�|��s|V��M|dkry|tjkri|tj
krYtj	�|��r:tj	�|��st||dz
|���Ed{V����dS)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      �D:\Python311\Lib\compileall.pyrrs������q�y��Z��R�[�1�1���i��n�n���-�
��&�&�s�+�+�,�,�,���
�3�����������1�9�	1��#�*�*�3�/�/�0�0�0���������
�J�J�L�L�L��	.�	.���=� �	���7�<�<��T�*�*���w�}�}�X�&�&�	.��N�N�N�N��!�m�	.���	� 1�	.�d�b�i�6G�	.��g�m�m�H�%�%�	.�.0�g�n�n�X�.F�.F�	.� ��Y��]�',�.�.�.�
.�
.�
.�
.�
.�
.�
.��	.�	.s�A1�14B(�'B(F���r��stripdir�
prependdir�
limit_sl_dest�hardlink_dupesc
�R�	d}|�|
�|�td���|�|}
|}d}|dkrtd���|dkr*ddlm}	|��ddlm}n#t
$rd}YnwxYw|�t
j��}t|||���}d}|dkrp|�n|pd}||�	��5}|�	tt|||||||	|
|||
�
��|��}t|d���}ddd��n#1swxYwYn"|D]}t||||||||	|
|||
���sd
}� |S)N�PDestination dir (ddir) cannot be used in combination with stripdir or prependdirrz%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�maprr�min)rrr.r/r0r
r1r2�workersr3r%r&r'r(r,r+�files�success�executor�results�files                     r"rr0sM���0���I�X�I�Z�I��G�I�I�	I������
�����{�B��@�A�A�A��!�|�?�C�C�C�C�C�C�	?� � �"�"�"�
?�>�>�>�>�>�>��#�	�	�	��G�G�G�	�����,��)�+�+�	��c��)�<�<�<�E��G��!�|� �+� ��/�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	�|�	|�|�|	�td���d}|dkr.t|tj��rtj|��}tj�|��}
d}|� tj�||
��}|��|�tjj	��}|�tjj	��}t|��}t||��D] \}}||kr|�|���!tjj|�}|	�C|�!tj�|	|��}n tj�|	|��}t|t��r|g}tt|����}|r"t!|��dkrtd���|�|�|��}|r|S|
�htj�|��rIt'|
�����t'|�����jvr|Si}tj�|���rK|D]h}|r	|dz||<�
|dkr1|dkr|nd}t.j�||�	��}|||<�Dt.j�|��}|||<�i|
dd
�|
d
d�}}|dk�r�|s�	ttj|��j��}t9jdt.jjd|d
z��}|���D]G}tA|d��5}|�!d��}ddd��n#1swxYwY||krn�H|Sn#tD$rYnwxYw|s"tGd�$|����	tK|��D]�\}}||}tMj'|||d||���} |dkrS|rQ|||dz
}!tQj)||!d���r)tj*|��tj+|!|����	| dkrd}�nD#tLj,$r�}"d}|dkr|cYd}"~"S|r#tGd�$|����ntGdd���tZj.j/pt[j0��}#|"j1�2|#d����3|#��}$tG|$��Yd}"~"n�d}"~"wthtjtDf$rl}%d}|dkr|cYd}%~%S|r#tGd�$|����ntGdd���tG|%j6j7dz|%��Yd}%~%nd}%~%wwxYw|S)Nr*Tr	zXHardlinking of duplicated bytecode makes sense only for more than one optimization level�crr�)�optimization���z.pyz<4sLLl���rb�zCompiling {!r}...)r2r3F)�shallowz*** Error compiling {!r}...z*** )�end�backslashreplace)�errors�:)8r5rrrrr�basenamer�split�sep�list�zip�remove�int�sorted�set�len�searchrr�resolve�parents�isfile�	importlib�util�cache_from_source�stat�st_mtime�struct�pack�MAGIC_NUMBER�values�open�readrrr�	enumerate�
py_compile�compile�filecmp�cmp�unlink�link�PyCompileErrorr9�stdout�encoding�getdefaultencoding�msg�encode�decode�SyntaxError�UnicodeError�	__class__�__name__)&r!r.r/r0r
r1r2r3r%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�errrqrs�es&                                      r"rr}s����.�I�X�I�Z�I��G�I�I�	I��G��q�y�'�Z��"�+�6�6�'��9�X�&�&��
�7���H�%�%�D��E��)�����T�4�(�(���	*�!������4�4��!������4�4���.�)�)�
����?�?�	)�	)�L�E�5���~�
)��!�!�%�(�(�(�����j�)���4��	4��G�L�L��X�6�6�E�E��G�L�L��U�3�3�E��(�C� � ���:���c�(�m�m�$�$�H��G�#�h�-�-�!�+�G��F�G�G�	G�
��
�Y�Y�x�
 �
 ��
�	��N���R�W�^�^�H�%=�%=���
���&�&�(�(��X���0F�0F�0H�0H�0P�P�	��N��J�	�w�~�~�h���B$�!�	2�	2�I��

2�(0�3��
�9�%�%���>�2�'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�=�3	$��

������ 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�;�^�;�)3�H�U�Q�Y�4G�)H��"�;�u�n�e�L�L�L�;��I�e�,�,�,��G�N�E�:�:�:��	;�@��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�:A5N(�/N�N(�N	�N(�N	�
N(�(
N5�4N5�BQ8�8V9�	T3�V9�BT3�3V9�
	V4�V9�AV4�4V9c��	d}tjD]E}|r|tjkr|r|dkrt	d���,|ot||d|||||���}�F|S)NTr	zSkipping current directory)r
r1r2r3)r9rrrrr)	�skip_curdirrr/r
r1r2r3r?rs	         r"rrs�����G��x�����
	�s�b�i�'�
	�[�
	��q�y�
4��2�3�3�3���	�+�������!�"3�	#�	#�	#�G�G��N�c��	�	ddl}|�d���}|�dddddd���|�d	td
d���|�d
ddd���|�ddddd���|�dddd���|�ddddd���|�dd d!dd"���|�d#d$d%dd&���|�d'd(d)dd*���|�d+d,d-d.�/��|�d0d1d2d3�4��|�d5d6d7td8�9��d:�tjD��}|�d;t
|��d<�=��|�d>d?td@dA�B��|�dCdDdEdF�/��|�dGddHdI���|���}|j}|j	r#ddl
}|�|j	��|_	|jdJkrd|_|j
�|j
}n|j}|j�dKg|_t!|j��d7kr|jr|�dL��|j�#|j�|j�|�dM��|jr�	|jdNkrt.jnt3|jdO�P��5}|D])}|�|������*	ddd��n#1swxYwYnC#t8$r6|jdQkr't=dR�|j����YdSSwxYw|j r@|j �!dNdT���"��}	tj|	}
nd}
dU}	|r�|D]�}tFj$�%|��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}��|StW|j(|j'|j|
�X��S#tX$r|jdQkrt=dY��YdSSwxYw)ZNrz1Utilities 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�r4r�z-br1z0use 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�r4r�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�REGEXPr0zskip 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	--workersrzRun compileall concurrently)r4r�r�c�h�g|]/}|j����dd����0S)�_�-)r �lower�replace)�.0�modes  r"�
<listcomp>zmain.<locals>.<listcomp>isJ��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 filesrEr#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)rqr	zError reading file list {}Fr�T)r3r%r&r2r'r()r=r3r%r&r2r'r()r1r/r
r3z
[interrupted])-�argparse�ArgumentParser�add_argumentrUri�PycInvalidationModerV�
parse_argsr�r0�rerjr'r�rr�rXr(�errorr.r%r&r�r9�stdinrfr��striprr
rrr3r��upperrrr\rr/r1rr=r�KeyboardInterrupt)
r��parser�invalidation_modes�args�
compile_destsr�r�f�line�ivl_moder3r?r�s
             r"�mainr�4s�����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� �E�T�%8�E����C�	E�	E�	E��y�G��
�G�%)�_�G�	���E�F�F�F��z�	�	�#�z�3��7�#�)�)����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�~�
G��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)	NNFNrFr#rN)NFNrFr#N)rrFrFr#N)rr9�importlib.utilr]rirbrk�	functoolsr�pathlibr�__all__rrrrr�ryrU�exit_status�exit�r�r"�<module>r�s|���
�	�	�	�
�
�
�
���������
�
�
�
�����������������
7�
7�
7��.�.�.�.�.7<�EF�"&�K�48��t�E�K�K�K�K�K�ZCD�(*�#'�S�59�d�#�E�S�S�S�S�S�jAB�(*�#'�����DV�V�V�r�z����#�$�$�&�&�j�/�/�K��C�H�[�������r�