403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.217.25
Web Server : Microsoft-IIS/10.0
System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64
User : IUSR ( 0)
PHP Version : 8.3.28
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /Python315/Lib/test/test_importlib/source/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Python315/Lib/test/test_importlib/source/__pycache__/test_source_encoding.cpython-315.pyc
R
>lqj�c��]QHGs\OQ2s]PHs]PHs]PHs]PH s]PH$s	]PH(s
]PH,s\OQ\O2sQQ2sQQ\2s\O"\\Q5vssQ	Q
2sQQ\2s\O"\\Q5vss\Q
6Xc\
O22P!P!)�)�utilzimportlib.machineryz&^[ \t\f]*#.*?coding[:=][ \t]*([-\w.]+)c�`�\sQs]snQsQsQsQO\\2sQs	Qs
QsQsQ	s
Q
sQsQsQ
sQsQsUsP!)�EncodingTesta�PEP 3120 makes UTF-8 the default encoding for source code
[default encoding].

PEP 263 specifies how that can change on a per-file basis. Either the first
or second line can contain the encoding line [encoding first line]
[encoding second line]. If the file has the BOM marker it is considered UTF-8
implicitly [BOM]. If any encoding is specified it must be UTF-8, else it is
an error [BOM and utf-8][BOM conflict].

�ü�Éz{0} = '{1}'
�_tempc	���[OUO29^tt^2o[V O*Q29^tt^2oUO	U2PPP2UO
O
UOV O*2oUOU2ttPPP2!)%fhKa9h)%fhP!9h)�wb)r�create_modules�module_name�open�write�	machinery�SourceFileLoader�load)�self�source�mapping�file�loaders&&   �DC:\Python315\\Lib\test\test_importlib\source\test_source_encoding.py�run_test�EncodingTest.run_test%s���
�
 �
 ��!1�!1�
2�
2�g��g�.�.�/��6�6�$��
�
�6�"�7��^�^�4�4�T�5E�5E�29�:J�:J�2K�M�F��9�9�V�$�3�
2�6�6��3�
2�
2�s0�%C
�B:	�!AC
�:C

�C

�C
�
C	�C	c��QOU2o[OU2%fPgUOQ2,oUO	UO
OU22QO
U2!)z# coding={0}�utf-8�
)�format�	CODING_RE�match�encode�append�source_line�join)r�encoding�
encoding_line�source_liness&&  r�
create_source�EncodingTest.create_source-sh��&�-�-�h�7�
����}�-�-�-�-�%�,�,�W�5�6�����D�,�,�3�3�H�=�>��z�z�,�'�'�c��Qo[OU2%fPgQOU2OQ2oUO	U2P!)z# coding=koi8-rz	{0}
a=42
zkoi8-r)rrrrr)rr$rs&  r�test_non_obvious_encoding�&EncodingTest.test_non_obvious_encoding4sE��*�
����}�-�-�-�-��%�%�m�4�;�;�H�E���
�
�f�r(c�\�UOUOOQ22P!�r)rr!r�rs&r�test_default_encoding�"EncodingTest.test_default_encoding=s���
�
�d�&�&�-�-�g�6�7r(c�P�QoUOU2oUOU2P!)�Latin-1�r&r)rr#rs&  r�test_encoding_on_first_line�(EncodingTest.test_encoding_on_first_lineAs#�����#�#�H�-���
�
�f�r(c�Z�QUOQ2*oUOU2P!)s#/usr/bin/python
r2r3�rrs& r�test_encoding_on_second_line�)EncodingTest.test_encoding_on_second_lineGs#��&��);�);�I�)F�F���
�
�f�r(c��UO[OUOO	Q2*2P!r-)r�codecs�BOM_UTF8r!rr.s&r�test_bom�EncodingTest.test_bomLs(���
�
�f�o�o��(8�(8�(?�(?��(H�H�Ir(c�v�[OUOQ2*oUOU2P!r-)r;r<r&rr7s& r�test_bom_and_utf_8�EncodingTest.test_bom_and_utf_8Ps'�����4�#5�#5�g�#>�>���
�
�f�r(c���[OUOQ2*oUO[29^tt^2UOU2PPP2P!)%fhP!9h)zlatin-1)r;r<r&�assertRaises�SyntaxErrorrr7s& r�test_bom_conflict�EncodingTest.test_bom_conflictUsG�����4�#5�#5�i�#@�@��
�
�
�{�
+�
+��M�M�&�!�,�
+�
+�
+�s�A!�!A2	�*A2	�)�__name__�
__module__�__qualname__�__firstlineno__�__doc__�variable�	characterrr!rrr&r*r/r4r8r=r@rE�__static_attributes__�__classdictcell__��
__classdict__s@rrrs`����	��H��I�!�(�(��9�=�K��K�%�(��8���
J��
"�"r(rc�(`�\sQs][snQsQsUsP!)�EncodingTestPEP451c���[OUO2o[OOUOU2UmUOU2U!�N)�types�
ModuleTyper�	importlibr�spec_from_loader�__spec__�exec_module)rr�modules&& rr�EncodingTestPEP451.load]sI���!�!�$�"2�"2�3��#�.�.�9�9�$�:J�:J�F�S������6�"��
r(rG�rHrIrJrKrrOrPrQs@rrTrT[������r(rT)rc�>`�\sQs]isnQsQsQsQsQsQs	Us
P!)�LineEndingTestzfSource written with the three types of line endings (\n, \r\n, \r)
need to be readable [cr][crlf][lf].c	��Qo,QNoUOU2o[OU29^tt^2o[VR*Q29^tt^2oUO	U2PPP2UO
O
UVR*2oUOVr2ttPPP2!)%fhKM9h)%fhP!9h)rr	)sa = 42sb = -13r()r"rr
rr
rrr)r�line_endingrr%rrrrs&&      rr�LineEndingTest.run_testns�����3���!�!�,�/��
�
 �
 ��
-�
-���g�*�D�1�1�T��
�
�6�"�2��^�^�4�4�[�5<�5I�K�F��9�9�V�1�.�
-�1�1��.�
-�
-�s/�B<�B)	�$:B<�)B9
�2B9
�4B<�<C
	�C
	c�*�UOQ2P!)�
�rr.s&r�test_cr�LineEndingTest.test_crz����
�
�e�r(c�*�UOQ2P!)s
rhr.s&r�	test_crlf�LineEndingTest.test_crlf~s���
�
�g�r(c�*�UOQ2P!)rrhr.s&r�test_lf�LineEndingTest.test_lf�rkr(rG)rHrIrJrKrLrrirmrprOrPrQs@rrbrbis#����+�	2����r(rbc�(`�\sQs]�snQsQsUsP!)�LineEndingTestPEP451c��[OU2o[OO	V!2UmUO
U2U!rV)rWrXrYrrZr[r\)rrrr]s&&& rr�LineEndingTestPEP451.load�s;���!�!�+�.��#�.�.�9�9�+�N������6�"��
r(rGr_rQs@rrsrs�r`r(rs�__main__)�test.test_importlibr�import_importlibrr;�importlib.utilrY�rerW�unicodedata�unittest�warnings�compile�ASCIIrrrT�	test_both�Frozen_EncodingTestPEP451�Source_EncodingTestPEP451rbrs�Frozen_LineEndingTestPEP451�Source_LineEndingTestPEP451rH�mainrGr(r�<module>r�s���$��!�!�"7�8�	�
��	�����
�J�J�@�"�(�(�K�	�E"�E"�P���
�^�^�&�)�<������:�>��
�^�^�(�I�>�����z���M�M�O�r(

Youez - 2016 - github.com/yon3zu
LinuXploit