OwlCyberSecurity - MANAGER
Edit File: trace.cpython-312.opt-2.pyc
� ������h�r���������������������������� �d�dgZ�ddlZddlZddlZddlZddlZddlZddlZddlZddl Z ddl Z ddlZddlm Z�ddlZdZ�G�d��d�������Zd��Zd ��Z�G�d ��d�������Zd��Zd��Zdd �Zd��Z�G�d��d��������Zd��Zedk(��r�e���������yy)�Trace�CoverageResults�����N)� monotonicz#pragma NO COVERc�������������������������e�Zd�Zdd�Zd��Zy)�_IgnoreNc������������������������|s t����������������n t��������|�������|�_��������|sg�n,|D��cg�c]!��}t��������j������������������j ������������������|���������#�c}|�_��������ddi|�_��������y�c�c}w�)Nz<string>����)�set�_mods�os�path�normpath�_dirs�_ignore)�self�modules�dirs�ds��� �,/opt/alt/python312/lib64/python3.12/trace.py�__init__z_Ignore.__init__F���sW������")�S�U�s�7�|�� �#�R�37�*9�37�a��+-�'�'�*:�*:�1�*=�37�*9�� �#�Q�(����*9s����&Ac����������������������||�j�������������������v�r|�j�������������������|���S�||�j������������������v�rd|�j�������������������|<���y|�j������������������D�]'��}|j������������������|dz����������s�d|�j�������������������|<����y�|�d|�j�������������������|<���y|�j������������������D�]5��}|j������������������|t��������j ������������������z����������s�&d|�j�������������������|<����y�d|�j�������������������|<���y)Nr ����.r���)r���r���� startswithr���r����sep)r����filename� modulename�modr���s��� r����namesz _Ignore.namesL���s�����������%��<�<� �+�+������#�'(�D�L�L��$����:�:�C���$�$�S�3�Y�/�+,����Z�(�� �����'(�D�L�L��$������A���"�"�1�r�v�v�:�.�+,����Z�(�����$%����Z� �������NN)�__name__� __module__�__qualname__r���r�����r���r���r���r���E���s������)�)r���r���c����������������������� �t���������j������������������j������������������|��������}t���������j������������������j������������������|�������\��}}|S��N)r���r ����basename�splitext)r ����baser����exts��� r����_modnamer+���w���s6������6� �7�7���D�!�D��G�G�$�$�T�*�M�H�c��Or���c���������������������� �t���������j������������������j������������������|��������}d}t��������j������������������D�]m��}t���������j������������������j������������������|�������}|j ������������������|�������s�4|t��������|����������t���������j������������������k(��s�Tt��������|�������t��������|�������kD��s�l|}�o�|r|�t��������|�������dz���d��}n|�}t���������j������������������j������������������|�������\��}}|j������������������t���������j������������������d�������}t���������j������������������r |j������������������t���������j������������������d�������}t���������j������������������j������������������|�������\��}}|j������������������d�������S�)N��r ���r���)r���r ����normcase�sysr����lenr���� splitdrive�replace�altsepr(����lstrip)r ����comparepath�longest�dirr)����driver���r*���s��� r����_fullmodnamer9���~���s�����6���'�'�"�"�4�(�K��G��x�x���g�g���s�#���!�!�#�&�;�s�3�x�+@�B�F�F�+J��3�x�#�g�,�&��� �����C��L�1�$�%�&�����'�'�$�$�T�*�K�E�4��<�<�����$�D� �y�y��|�|�B�I�I�s�+���G�G�$�$�T�*�M�H�c��?�?�3��r���c��������������������4�����e�Zd�Z � �dd�Zd��Zd��Zdd�Zd d�Zy) r���Nc����������������������||�_���������|�j��������������������i�|�_���������|�j�������������������j��������������������������|�_��������||�_��������|�j�������������������i�|�_��������|�j������������������j��������������������������|�_��������||�_��������|�j�������������������i�|�_��������|�j������������������j��������������������������|�_��������||�_��������||�_��������|�j ������������������r] �t��������|�j ������������������d�������5�}t��������j������������������|�������\��}}}d�d�d���������|�j������������������|�j������������������|||����������������y�y�#�1�sw�Y����.xY�w#�t��������t��������t��������f$�r5}t��������d|�j �������������������d|��t ��������j"���������������������������Y�d�}~y�d�}~ww�xY�w)N�rb)�callerszSkipping counts file �: ��file)�counts�copy�counter�calledfuncsr=����infile�outfile�open�pickle�load�update� __class__�OSError�EOFError� ValueError�printr/����stderr)r���rA���rD���rE���r=���rF����f�errs��� r���r���zCoverageResults.__init__����s8���������;�;���D�K��{�{�'�'�)���&������#�!�D���+�+�0�0�2�������<�<���D�L��|�|�(�(�*����������;�;� N��$�+�+�t�,��39�;�;�q�>�0�F�K���-����D�N�N�6�;��N�P�Q����-�,����X�z�2�� N��)-���c�;�BE�*�*�N��N�� N�s0����D0��D$�7+D0��$D-�)D0��0E9�+E4�4E9c������������������L����� �|j������������������d�������xr�|j������������������d�������S�)N�<�>)r����endswith)r���r���s��� r����is_ignored_filenamez#CoverageResults.is_ignored_filename����s*������ ���"�"�3�'�B�H�,=�,=�c�,B�Br���c������������������ ���� �|�j�������������������}|�j������������������}|�j������������������}|j�������������������}|j������������������}|j������������������}|D�]��}|j������������������|d�������||���z���||<�����|D�]��}d||<���� �|D�]��}d||<���� �y��Nr���r ���)rA���rD���r=����get) r����otherrA���rD���r=����other_counts�other_calledfuncs� other_callers�keys ��� r���rJ���zCoverageResults.update����s�������<������&�&���,�,���|�|��!�-�-��� � � ��C� �*�*�S�!�,�|�C�/@�@�F�3�K�� ��%�C� �K����%��!�C��G�C�L��!r���c���������������������� �|�j�������������������rIt�����������������t��������d��������|�j�������������������}t��������|�������D�]��\��}}}t��������d|�d|�d|������������|�j������������������r�t�����������������t��������d��������dx}} t��������|�j�������������������������D�]\��\��\��} }}\��} }}| |k7��rt�����������������t��������d| d��������| }d} | | k7��r| | k7��rt��������d| ��������| } t��������d |�d |�d|�d |�����������^�i�}|�j������������������D�]0��\��}}|j������������������|i��������x}||<���|�j������������������||f���||<����2�i�}|j ��������������������������D��]U��\��}}|�j������������������|�������r�|j������������������d�������r|d�d �}|�Ht��������j������������������j������������������t��������j������������������j������������������|��������������}t��������|�������}n$|}t��������j������������������|d���������t��������|�������}|rt!��������|�������}ni�}t#��������j$������������������|�������}t��������j������������������j'������������������||dz����������}t)��������|d�������5�}t+��������j,������������������|j.�������������������������\��}}d�d�d���������|�j1������������������||||�������\��}}|s��8|s��<t3��������d|z��|z���������}||||f||<�����X�|r8|r6t��������d��������t��������|�������D�]��}||���\��}}}}t��������d||���z������������|�j4������������������rY �t)��������|�j4������������������d�������5�} t7��������j8������������������|�j������������������|�j�������������������|�j������������������f| d��������d�d�d���������y�y�#�1�sw�Y�����xY�w#�1�sw�Y���y�xY�w#�t:��������$�r(}!t��������d|!z��t<��������j>���������������������������Y�d�}!~!y�d�}!~!ww�xY�w)Nzfunctions called:z filename: z, modulename: �, funcname: zcalling relationships:r-���z***z -->z r���z -> z.pyc���T)�exist_okz.coverr<����d���zlines cov% module (path)z%5d %3d%% %s (%s)�wbr ���z"Can't save counts files because %sr?���) rD���rO����sortedr=���rA���rZ����itemsrW���rV���r���r ����dirname�abspathr+����makedirsr9����_find_executable_linenos� linecache�getlines�joinrG����tokenize�detect_encoding�readline�write_results_file�intrF���rH����dumprL���r/���rP���)"r����show_missing�summary�coverdir�callsr���r����funcname�lastfile� lastcfile�pfile�pmod�pfunc�cfile�cmod�cfunc�per_file�lineno� lines_hit�sums�countr7����lnotab�source� coverpath�fp�encoding�_�n_hits�n_lines�percent�mrQ���rR���s"��� r���� write_resultszCoverageResults.write_results����sQ����� ������G��%�&��$�$�E�28��-�.��*�h��"�J��:��<��3@���<�<��G��*�+�#%�%�H�y��d�l�l�+��=�%�%��u�';��t�U��H�$��G��%���.�$�H� "�I��E�>�i�5�&8��'�5�)� %�I��d�E�4��G�H��,���� $����H�f�-5�\�\�(�B�-G�G�I���*� $���X�v�,>� ?�I�f���!,� ���'�~�~�/�O�H�e��'�'��1��� � ��(�#�C�R�=�����g�g�o�o�b�g�g�o�o�h�&?�@��%�h�/� ������C�$�/�)�(�3� ���1�(�;�����'�'��1�F������S�*�x�*?�@�I��h��%��&�6�6�r�{�{�C���!��&�"�5�5�i��6<�e�X�O�O�F�G��7��c�F�l�W�4�5��#*�G�Z��#I��Z� �;� 0�@��t��2�3��D�\��9=�a��6���*�h��/�$�q�'�9�:��"���<�<� S��$�,�,��-���K�K����d�.>�.>���� M� !�1�&��.�-����&�%��$�.�-����� S��:�S�@�s�z�z�R�R�� S�sB����4#L<�#M��99M�2M��<M �M� M��M�� N�N���Nc����������������������� � �t��������|d|��������}d}d} |5��t��������|d �������D�]��\��} }| |v�r"|j ������������������d || ���z����������| d z ��} |d z ��}n4| |v�rt��������|vr|j ������������������d��������|d z ��}n|j ������������������d��������|j ������������������|j������������������d ������������������ �d�d�d���������| |fS�#�t��������$�r,}t��������d|�d|�d�t��������j���������������������������Y�d�}~yd�}~ww�xY�w#�1�sw�Y���| |fS�xY�w)N�w�r����ztrace: Could not open z for writing: z - skippingr?���)r���r���r���r ���z%5d: z>>>>>> z ����) rG���rL���rO���r/���rP���� enumerate�write�PRAGMA_NOCOVER� expandtabs)r���r ����linesr����r����r����rF���rR���r����r����r�����lines��� r���rr���z"CoverageResults.write_results_file(��s�����5� ��4��x�8�G������ � )�%�� 3������Y�&��M�M�'�I�f�,=�"=�>��a�K�F��q�L�G��v�%�n��.D���M�M�)�,��q�L�G��M�M�)�,�� � �d�o�o�a�0�1��!4���"��w����1��� ��26��=�DG�J�J� P��� ����"��w���s#����B3��BC+�3 C(�<"C#�#C(�+C7)NNNNN)TFNr&���)r!���r"���r#���r���rW���rJ���r����rr���r$���r���r���r���r�������s&������=A�'+�N�4C��$YS�vr���c������������������Z����� �i�}t��������j������������������|��������D�]��\��}}||vs�d||<�����|S�)Nr ���)�dis�findlinestarts)�code�strs�linenosr����r����s��� r����_find_lines_from_coder����H��s;������D��G��'�'��-� ��6�����G�F�O��.���Nr���c����������������������� �t��������|�|�������}|�j������������������D�]3��}t��������j������������������|�������s�|j ������������������t��������||����������������5�|S�r&���)r����� co_consts�inspect�iscoderJ����_find_lines)r����r����r�����cs��� r���r����r����R��sG������F�#�D�$�/�G���^�^���>�>�!���N�N�;�q�$�/�0�����Nr���c������������������b���� �i�}t���������j������������������}t��������|�|��������5�}t��������j������������������|j �������������������������}|D�]S��\��}}}} } |t���������j������������������k(��r6|t���������j������������������k(��r#|\��}}| \��} }t��������|| dz����������D�]��}d||<���� �|}�U� �d�d�d���������|S�#�1�sw�Y���|S�xY�w)Nr����r ���)�token�INDENTrG���ro����generate_tokensrq����STRING�range)r���r����r���� prev_ttyperQ����tok�ttype�tstr�start�endr�����sline�scol�eline�ecol�is��� r���� _find_stringsr����^��s��������� �A�����J� �h�� *�a��&�&�q�z�z�2��-0�)�E�4���T�����$�����-�"'�K�E�4�"%�K�E�4�"�5�%�!�)�4�� ��!���5��J��.1�� +�� �H�� +�� �H�s����A8B$�$B.c������������������N���� � �t��������j������������������|��������5�}|j��������������������������}|j������������������}d�d�d���������t��������|�d�������}t��������|��������}t��������||�������S�#�1�sw�Y����.xY�w#�t��������$�r-}t��������d|��d|��t��������j���������������������������i�cY�d�}~S�d�}~ww�xY�w)NzNot printing coverage data for r>���r?����exec)ro���rG����readr����rL���rO���r/���rP����compiler����r����)r���rQ����progr����rR���r����r����s��� r���rk���rk���u��s�������K�� �]�]�8� $���6�6�8�D��z�z�H��%���4��6�*�D���8�,�D��t�T�"�"��%� $������ �!)�3�0�7:�z�z� C�� ���s3����A.��A"�A.��"A+�'A.��. B$�7"B�B$�B$c��������������������^�����e�Zd�Z � � �dd�Zd��Zdd�Zd��Zd��Zd��Zd��Z d ��Z d ��Zd��Zd��Z d ��Zy)r���Nc ���������������������� �||�_���������||�_��������t��������||�������|�_��������i�|�_��������i�|�_��������d|�_��������||�_��������i�|�_��������i�|�_ ��������i�|�_ ��������d�|�_��������| rt����������������|�_��������|r|�j������������������|�_��������y�|r|�j������������������|�_��������y�|r%|r#|�j ������������������|�_��������|�j"������������������|�_��������y�|r#|�j ������������������|�_��������|�j&������������������|�_��������y�|r#|�j ������������������|�_��������|�j(������������������|�_��������y�d|�_��������y�rY���)rE���rF���r����ignorerA����pathtobasename� donothing�trace�_calledfuncs�_callers� _caller_cache� start_time�_time�globaltrace_trackcallers�globaltrace�globaltrace_countfuncs�globaltrace_lt�localtrace_trace_and_count� localtrace�localtrace_trace�localtrace_count) r���r����r����� countfuncs�countcallers� ignoremods� ignoredirsrE���rF����timings ��� r���r���zTrace.__init__���s������� �"��������j�*�5������ �������� ������ ��������#�g�D�O��#�<�<�D�� �#�:�:�D�� �u�#�2�2�D��"�=�=�D�O� �#�2�2�D��"�3�3�D�O� �#�2�2�D��"�3�3�D�O���D�Nr���c������������������J�����dd�l�}|j������������������}|�j������������������|||��������y�)Nr���)�__main__�__dict__�runctx)r����cmdr�����dicts��� r����runz Trace.run���s �������� � �����C��t�$r���c����������������������|�i�}|�i�}|�j�������������������s>t��������j������������������|�j��������������������������t ��������j������������������|�j�������������������������� �t��������|||��������|�j�������������������s+t ��������j������������������d���������t��������j������������������d���������y�y�#�|�j�������������������s+t ��������j������������������d���������t��������j������������������d���������w�w�xY�wr&���)r����� threading�settracer����r/���r����)r���r�����globals�localss��� r���r����zTrace.runctx���s��������?�b�G��>�B�6��~�~����t�/�/�0��L�L��)�)�*� )���g�v�&��>�>����T�"��"�"�4�(��"��4�>�>����T�"��"�"�4�(��"�s���� B��9Cc���������������������d�}|�j�������������������st��������j������������������|�j�������������������������� ��||i�|��}|�j�������������������st��������j������������������d���������|S�#�|�j�������������������st��������j������������������d���������w�w�xY�wr&���)r����r/���r����r����)r����func�args�kw�results��� r����runfuncz Trace.runfunc���sh���������~�~��L�L��)�)�*� #��4�&�2�&�F��>�>����T�"�� ����>�>����T�"��"�s����A��$A>c�����������������������|j�������������������}|j������������������}|rt��������|�������}nd�}|j������������������}d�}||�j������������������v�r |�j������������������|�����|�j������������������|���}n�d�|�j������������������|<���t��������j������������������|�������D��cg�c]��}t��������j������������������|�������r|���}}t��������|�������dk(��r�t��������j������������������|d����������D�� cg�c]��} t��������| t���������������r| ���} } t��������| �������dk(��r]t��������j������������������| d����������D��cg�c]��}t��������|d�������r|���}}t��������|�������dk(��r|d���j������������������}||�j������������������|<���|�|�d|��}|||fS�c�c}w�c�c} w�c�c}w�)Nr ���r���� __bases__r���)�f_code�co_filenamer+����co_namer�����gc� get_referrersr����� isfunctionr0���� isinstancer�����hasattrr!���) r����framer����r���r���ry����clsnamerQ����funcsr����dictsr�����classess ��� r����file_module_function_ofzTrace.file_module_function_of���s�������|�|���#�#���!�(�+�J��J��<�<�����4�%�%�%��!�!�$�'�3��,�,�T�2��'+�D���t�$��!#� 0� 0�� 6��3� 6�1�#�.�.�q�1��� 6�E��3� ��5�z�Q��$&�$4�$4�U�1�X�$>��5�$>�q� *�1�d� 3���$>���5��u�:��?�*,�*:�*:�5��8�*D��?�*D�Q�&-�a��&=�� !�*D�G��?��7�|�q�(�")�!�*�"5�"5�� �4;��*�*�4�0���")�8�4�H���X�-�-��-3��5��?s����E'�E,�E1c����������������������� �|dk(��r>|�j������������������|�������}|�j������������������|j�������������������������}d|�j������������������||f<���y�y��N�callr ���)r�����f_backr����)r���r�����why�arg� this_func�parent_funcs��� r���r����zTrace.globaltrace_trackcallers���sL������ ���&�=��4�4�U�;�I��6�6�u�|�|�D�K�67�D�M�M�;� �2�3� �r���c������������������R����� �|dk(��r!|�j������������������|�������}d|�j������������������|<���y�y�r����)r����r����)r���r����r����r����r���s��� r���r����zTrace.globaltrace_countfuncs��s5������ ���&�=��4�4�U�;�I�+,�D���i�(��r���c������������������&���� �|dk(��r�|j�������������������}|j������������������j������������������dd��������}|r`t��������|�������}|�R|�j������������������j������������������||�������}|s3|�j������������������rt��������d|�d|j����������������������������|�j������������������S�y�y�y�y�)Nr�����__file__z --- modulename: ra���) r����� f_globalsrZ���r+���r����r���r����rO���r����r����)r���r����r����r����r����r���r���� ignore_its��� r���r����zTrace.globaltrace_lt��s������� � ��&�=��<�<�D����*�*�:�t�<�H���&�h�/� ��)� $��� 1� 1�(�J� G�I�$��:�:�!�&0�$�,�,�$@��B�#���.� �%��*����r���c����������������������|dk(��r�|j�������������������j������������������}|j������������������}||f}|�j������������������j ������������������|d�������dz���|�j������������������|<���|�j ������������������r%t ��������dt����������������|�j ������������������z ��z��d���������t��������j������������������j������������������|�������}t��������j������������������||�������}t ��������d||fz��d���������|rt ��������d |d���������|�j������������������S�t �����������������|�j������������������S�) Nr����r���r ����%.2f� �r�����%s(%d)r-���r>���)r����r�����f_linenorA���rZ���r����rO���r����r���r ���r'���rl����getliner����) r���r����r����r����r���r����r_����bnamer����s ��� r���r����z Trace.localtrace_trace_and_count'��s��������&�=��|�|�/�/�H��^�^�F��F�"�C�#�{�{���s�A�6��:�D�K�K�������f���$�/�/� 9�:��D��G�G�$�$�X�.�E��$�$�X�v�6�D��(�e�V�_�,�"�5���d�D�b�)������������r���c����������������������|dk(��r�|j�������������������j������������������}|j������������������}|�j������������������r%t ��������dt����������������|�j������������������z ��z��d���������t��������j������������������j������������������|�������}t��������j������������������||�������}t ��������d||fz��d���������|rt ��������d|d���������|�j������������������S�t �����������������|�j������������������S�)Nr����r��r ��r ��r��r-���r>���)r����r����r��r����rO���r����r���r ���r'���rl���r ��r����)r���r����r����r����r���r����r��r����s��� r���r����zTrace.localtrace_trace:��s��������&�=��|�|�/�/�H��^�^�F�����f���$�/�/� 9�:��D��G�G�$�$�X�.�E��$�$�X�v�6�D��(�e�V�_�,�"�5���d�D�b�)������������r���c������������������������|dk(��rR|j�������������������j������������������}|j������������������}||f}|�j������������������j ������������������|d�������dz���|�j������������������|<���|�j ������������������S�)Nr����r���r ���)r����r����r��rA���rZ���r����)r���r����r����r����r���r����r_���s��� r���r����zTrace.localtrace_countK��sW�������&�=��|�|�/�/�H��^�^�F��F�"�C�#�{�{���s�A�6��:�D�K�K������r���c�����������������������t��������|�j������������������|�j������������������|�j������������������|�j������������������|�j ��������������������������S�)N)rE���rF���rD���r=���)r���rA���rE���rF���r����r����)r���s��� r����resultsz Trace.resultsS��s2�������t�{�{�4�;�;�'+�|�|�+/�+<�+<�'+�}�}�6�� 6r���) r ���r ���r���r���r$���r$���NNFr ���)r!���r"���r#���r���r����r����r����r����r����r����r����r����r����r����r��r$���r���r���r���r������sI������DE�DH��0�d%� )� �'.�R 8�-��.�&�"�6r���c�������������������������dd�l�}�|�j��������������������������}|j������������������ddd���������|j������������������dd�������}|j������������������dd d d���������|j������������������d dd d���������|j������������������ddd d���������|j������������������ddd d���������|j������������������d�������}|j ��������������������������}|j������������������ddd d���������|j������������������ddd d���������|j������������������ddd� ��������|j������������������d!d"d#� ��������|j������������������d$d%d d&���������|j������������������d'd(d d)���������|j������������������d*d+d d,���������|j������������������d-d.�������}|j������������������d/d0g�d1�2��������|j������������������d3d0g�d4�2��������|j������������������d5d d6d7�2��������|j������������������d8d9d:�;��������|j������������������d<|�j ������������������d=�;��������|j ��������������������������}|j������������������r*t��������j������������������d>��������t��������j������������������d?����������fd@�}|j������������������D���cg�c](��}|j������������������dA�������D�]��}|j������������������������������*�c}}|_ ��������|j������������������D���cg�c].��}|j������������������t��������j�������������������������D�] ��}�||�����������0�c}}|_��������|j������������������ro|j ������������������s|j#������������������dB��������t%��������|j ������������������|j �������������������C�������} | j'������������������|j(������������������|j*������������������|j,�������������������������S�t/��������|j0������������������|j2������������������|j4������������������|j6������������������g�������s|j#������������������dD��������|j4������������������r)|j2������������������s|j0������������������r|j#������������������dE��������|j*������������������r|j2������������������s|j#������������������dF��������|j8�������������������|j#������������������dG��������t;��������|j2������������������|j0������������������|j4������������������|j6������������������|j������������������|j������������������|j ������������������|j ������������������|j<�������������������H� ������} �|j>������������������rodd�l }|j8������������������}|jC������������������|�������\��} }}|jD������������������g|jF�������������������tH��������_%��������dI|jD������������������|jL������������������|jN������������������|d�dJ�}n�|j8������������������g|jF�������������������tH��������_%��������t��������jP������������������jS������������������|j8�������������������������tH��������jP������������������d<���tU��������jV������������������|j8�������������������������5�}tY��������|j[��������������������������|j8������������������dK�������}d�d�d���������|j8������������������dId�d�dL�}| j]������������������||��������| je��������������������������} |jf������������������s2| j'������������������|j(������������������|j*������������������|j,��������������������������y�y�c�c}}w�c�c}}w�#�1�sw�Y�����xY�w#�t^��������$�r6}tI��������j`������������������dMtH��������jJ������������������d����dN|����������Y�d�}~��d�}~wtb��������$�r�Y���w�xY�w)ONr���z --version�versionz trace 2.0)�actionr��zMain optionsz(One of these (or --report) must be givenz-cz--count� store_truez�Count the number of times each line is executed and write the counts to <module>.cover for each module executed, in the module's directory. See also --coverdir, --file, --no-report below.)r���helpz-tz--tracez3Print each line to sys.stdout before it is executedz-lz--listfuncsz�Keep track of which functions are executed at least once and write the results to sys.stdout after the program exits. Cannot be specified alongside --trace or --count.z-Tz--trackcallsz^Keep track of caller/called pairs and write the results to sys.stdout after the program exits.� Modifiersz-rz--reportz�Generate a report from a counts file; does not execute any code. --file must specify the results file to read, which must have been created in a previous run with --count --file=FILEz-Rz--no-reportz^Do not generate the coverage report files. Useful if you want to accumulate over several runs.z-fz--filez+File to accumulate counts over several runs)r��z-Cz --coverdirz�Directory where the report files go. The coverage report for <package>.<module> will be written to file <dir>/<package>/<module>.coverz-mz --missingz?Annotate executable lines that were not executed with ">>>>>> "z-sz --summaryz\Write a brief summary for each file to sys.stdout. Can only be used with --count or --reportz-gz--timingzQPrefix each line with the time since the program started. Only used while tracing�FilterszCan be specified multiple timesz--ignore-module�appendzqIgnore the given module(s) and its submodules (if it is a package). Accepts comma separated list of module names.)r���defaultr��z--ignore-dirzWIgnore files in the given directory (multiple directories can be joined by os.pathsep).z--moduleFzTrace a module. �progname�?zfile to run as main program)�nargsr��� argumentszarguments to the program�stdlib� platstdlibc������������������������t���������j������������������j������������������t���������j������������������j������������������|���������������}�|�j ������������������d��������j ������������������d��������}�t���������j������������������j������������������|��������S�)Nz$prefixz$exec_prefix)r���r ���� expanduser� expandvarsr2���r���)�s�_exec_prefix�_prefixs��� ��r����parse_ignore_dirzmain.<locals>.parse_ignore_dir���sX��������G�G���r�w�w�1�1�!�4�5�� �I�I�i��)�1�1�.�,�O���w�w����"�"r����,z-r/--report requires -f/--file)rE���rF���zLmust specify one of --trace, --count, --report, --listfuncs, or --trackcallsz8cannot specify both --listfuncs and (--trace or --count)z3--summary can only be used with --count or --reportz3progname is missing: required with the main options)r����r����r����r����rE���rF���r����r����)r!���r���__package__� __loader__�__spec__� __cached__r����)r��r!���r*��r-��zCannot run file z because: )4�argparse�ArgumentParser�add_argument�add_argument_group�add_mutually_exclusive_group� REMAINDER� parse_args� ignore_dir� sysconfig�get_path� ignore_module�split�stripr����pathsep�reportr@����errorr���r�����missingrv���rw����anyr����r����� listfuncs� trackcallsr��r���r�����module�runpy�_get_module_detailsr����r��r/����argv�parent�loaderr ���rh����io� open_coder����r����r����rL����exit� SystemExitr��� no_report)r.���parser�grp�_grp�optsr(��r����r���r%��r���trC���module_name�mod_name�mod_specr�����globsr����rR���r&��r'��s��� @@r����mainrV��Y��s�������� � $� $� &�F� ����I�{��K� � #� #�N�6�8�C�����T�9�\�&����'� ����T�9�\�F����H����T�=��E����F�����T�>�,�7����8��� #� #�K� 0�C��+�+�-�D����d�J�|����� � � ���d�M�,�G����H�����T�8�>����@����T�<�2����3�����T�;�|����������T�;�|�=����>�����T�:�l�+����,��� #� #�I�-�/�C����&�x��!����"�����^�H�b�G����H����� �<��/����1� ��� �#�.����0� ����8�+=�+=�+����-������D�����$�$�X�.�� �)�)�,�7��#��$(�#5�#5�O�#5�a������#���)�)�+�AM��&�#5�O�D���!%���N� /�1�������9L�A��(��*�9L��+� /�N�D�O���{�{��y�y��L�L�9�:�!����D�I�I�F���$�$�T�\�\�4�<�<����O�O��� � �D�J�J�������H�I�����4�� 5���~�~�4�:�:�������O�P��|�|�D�J�J����J�K��}�}�����J�K� �d�j�j�$�*�*�����?�?�t�7I�7I��������i�i���� 5�A� ��;�;���-�-�K�',�'@�'@��'M�$�H�h���(�(�:�4�>�>�:�C�H�&� �,�,�'���&�o�o�$�"� �E��� � �7����7�C�H��'�'�/�/�$�-�-�8�C�H�H�Q�K����d�m�m�,���r�w�w�y�$�-�-��@���-��!�M�M�&�#�"� �E�� ����u�e�$���i�i�k�G��>�>����d�l�l�D�L�L�$�-�-�H����O��N�X�-�,�����H����S�X�X�a�[�#�F�G�G���� �� �sC����!-W&�&3W,�C6W>��&W2�+,W>��2W;�7W>��> Y�,X8�8Y�Yr����r&���)�__all__rH��rl���r���r/���r6��r����ro���r����r����r����rH����timer���r����r����r����r���r+���r9���r���r����r����r����rk���r���rV��r!���r$���r���r����<module>rY�����s������<�(��%� &��� ���� �� ���������� �� �� ��#���#��0��0�d� �8l��l�\� � �.#�T6��T6�lPI�d��Z���F��r���