403Webshell
Server IP : 121.121.20.254  /  Your IP : 216.73.216.202
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 :  /Python313/Lib/test/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Python313/Lib/test/__pycache__/test_pickletools.cpython-313.opt-2.pyc
�

��iE��8�SSKrSSKrSSKrSSKJr SSKJr SSKrSSKr"SS\\R5r
"SS5r"SS	\R5r"S
S\R5r
"SS
\R5rSr\S:Xa\R""5 gg)�N)�support)�AbstractPickleTestsc�8�\rSrSrSSjrSrSrSrSrSr	Sr
g)	�OptimizedPickleTests�	Nc�X�[R"[R"X40UD65$�N)�pickletools�optimize�pickle�dumps)�self�arg�proto�kwargss    �*C:\Python313\\Lib\test\test_pickletools.pyr
�OptimizedPickleTests.dumpss!���#�#�F�L�L��$F�v�$F�G�G�c�0�[R"U40UD6$r	)r�loads)r�buf�kwdss   rr�OptimizedPickleTests.loadss���|�|�C�(�4�(�(rc��[S5Vs/sHn[U5PM nnURUS5 [[RS-5H�n[R
"X#5n[R"U5nURXR5 URUSUS5 [R"U5n[R"U5nURXr5 URUSUS5 UR[RU5 UR[RU5 M� gs snf)Ni�������)�range�str�appendr�HIGHEST_PROTOCOLr
r�assertEqual�assertIsr
r�assertNotIn�LONG_BINGET�LONG_BINPUT)r�i�datar�pickled�	unpickled�pickled2�
unpickled2s        r�test_optimize_long_binget�.OptimizedPickleTests.test_optimize_long_bingets��� %�c�
�+�
�1��A��
��+����D��H���6�2�2�Q�6�7�E��l�l�4�/�G����W�-�I����Y�-��M�M�)�B�-��2��7�"�+�+�G�4�H����h�/�J����Z�.��M�M�*�R�.�*�R�.�9����V�/�/��:����V�/�/��:�8��,s�Ec��SnUR[RU5 [R"U5nUR	U/SQ5 URUSUS5 [R"U5n[R"U5nUR	U/SQ5 URUSUS5 UR[RU5 g)Ns ��]�(�spamq�ham�he.)�spam�hamr1r�)	�assertInr�BINPUTrr"r#r
rr$)rr)r*r+r,s     r� test_optimize_binput_and_memoize�5OptimizedPickleTests.test_optimize_binput_and_memoize's���D��	
�
�
�f�m�m�W�-��L�L��)�	�����$:�;��
�
�i��l�I�a�L�1��'�'��0���\�\�(�+�
�����%;�<��
�
�j��m�Z��]�3��������1r�r	)�__name__�
__module__�__qualname__�__firstlineno__r
r�test_pickle_to_2x�+test_framed_write_sizes_with_delayed_writerr-r5�__static_attributes__r7rrrr	s'��H�)���37�/�;� 2rrc�&�\rSrSrSrSrSrSrg)�SimpleReader�Bc��XlSUlg)Nr�r(�pos)rr(s  r�__init__�SimpleReader.__init__Cs���	���rc�|�URURURU-nU=RU-
slU$r	rC)r�nr(s   r�read�SimpleReader.readGs0���y�y����4�8�8�a�<�0�����A�
���rc���URRSUR5S-nU(d[UR5nURURUnXlU$)N�
r)r(�findrD�len)r�nlr(s   r�readline�SimpleReader.readlineLsM��
�Y�Y�^�^�E�4�8�8�
,�q�
0����T�Y�Y��B��y�y����2�&�����rrCN)r8r9r:r;rErIrPr>r7rrr@r@Bs����
rr@c�>�\rSrSrSrSrSrSrSrSr	Sr
S	rg
)�GenopsTests�Uc	��[R"S5nURUVs/sHo"SR4USS-PM sn/SQ5 gs snf)N�(I123
KJ4Vxt.rr))�MARKNr)�INT�{r)�BININT1��)�BININT�4Vx�)�TUPLEN�
)�STOPN�)r
�genopsr"�name�r�it�items   r�test_genops�GenopsTests.test_genopsVsN��
�
�
� B�
C�����"�E�"�$��7�<�<�/�T�!�"�X�5�"�E�H
�	��Es�Ac	�X�[R"S5nURURS5S5 [R
"U5nURUVs/sHo3SR4USS-PM sn/SQ5 URUR5S5 gs snf)Nsprefix(I123
KJ4Vxt.suffixr\sprefixrr))rWNr\)rXrY�)rZr[�)r]r^rc)r`N�)rbN�ssuffix)�io�BytesIOr"rIr
rdre�r�frgrhs    r�test_from_file�GenopsTests.test_from_fileas����J�J�E�F����������I�.�
�
�
��
"�����"�E�"�$��7�<�<�/�T�!�"�X�5�"�E�H
�	�	
�������9�-��Fs�B'c	��[S5n[R"U5nURUVs/sHo3SR4USS-PM sn/SQ5 gs snf)NrVrr))rWNN)rXrYN)rZr[N)r]r^N)r`NN)rbNN)r@r
rdr"rerrs    r�test_without_pos�GenopsTests.test_without_pososX���;�<��
�
�
��
"�����"�E�"�$��7�<�<�/�T�!�"�X�5�"�E�H
�	��Es�Ac��[R"S5n[U5nURUSRS5 UR[S5 [U5 SSS5 g!,(df   g=f)N�Nr�NONE�#pickle exhausted before seeing STOP�r
rd�nextr"re�assertRaisesRegex�
ValueErrorrfs   r�test_no_stop�GenopsTests.test_no_stop{s]��
�
�
��
%���B�x������a����v�.�
�
#�
#�J�5�7���H�7�7�7���A,�,
A:c�H�[R"S5nUR[S5 [	U5 SSS5 [R"S5nUR[S5 [	U5 SSS5 g!,(df   NO=f!,(df   g=f)NsI123�-no newline found when trying to read stringnlsJ4�&not enough data in stream to read int4)r
rdrr�r~)rrgs  r�test_truncated_data�GenopsTests.test_truncated_data�s���
�
�
��
(��
�
#�
#�J�?�A���H�A��
�
��
-��
�
#�
#�J�8�:���H�:�:�	A�A��:�:�s�B�-B�
B�
B!c��[R"S5n[U5nURUSRS5 UR[S5 [U5 SSS5 g!,(df   g=f)N�N�rr{�&at position 1, opcode b'\\xff' unknownr}rfs   r�test_unknown_opcode�GenopsTests.test_unknown_opcode�s]��
�
�
��
)���B�x������a����v�.�
�
#�
#�J�9�;���H�;�;�;�r�c��[S5n[R"U5n[U5nUR	USR
S5 UR
[S5 [U5 SSS5 g!,(df   g=f)Nr�rr{z.at position <unknown>, opcode b'\\xff' unknown)r@r
rdr~r"rerr�rrs    r�test_unknown_opcode_without_pos�+GenopsTests.test_unknown_opcode_without_pos�sk����"��
�
�
��
"���B�x������a����v�.�
�
#�
#�J�A�C���H�C�C�C�s�"A7�7
Br7N)r8r9r:r;rirtrwr�r�r�r�r>r7rrrSrSUs%��	�.�
����rrSc��\rSrSrSrSrSrSrSrSr	Sr
S	rS
rSr
SrS
rSrSrSrSrSrSrSrSrSrSrSrSrSrSrSrSrSr g)�DisTests�Nc��[R"5n[R"U4SU0UD6 UR	UR5U5 g�N�out)rp�StringIOr
�disr"�getvalue)rr(�expectedrr�s     r�	check_dis�DisTests.check_dis�s9���k�k�m������0�#�0��0���������2rc��[R"5nUR[U5 [R
"U4SU0UD6 SSS5 UR
UR5U5 g!,(df   N/=fr�)rpr�rr�r
r�r"r�)rr(r��expected_errorrr�s      r�check_dis_error�DisTests.check_dis_error�sY���k�k�m��
�
#�
#�J��
?��O�O�D�4�c�4�V�4�@���������2�@�
?�s�A/�/
A=c�(�URSS5 g)N�(N(tl.z�    0: (    MARK
    1: N        NONE
    2: (        MARK
    3: t            TUPLE      (MARK at 2)
    4: l        LIST       (MARK at 0)
    5: .    STOP
highest protocol among opcodes = 0
�r��rs r�	test_mark�DisTests.test_mark�������y�#�	rc�&�URSSSS9 g)Nr�z�    0: (    MARK
    1: N      NONE
    2: (      MARK
    3: t        TUPLE      (MARK at 2)
    4: l      LIST       (MARK at 0)
    5: .    STOP
highest protocol among opcodes = 0
r2)�indentlevelr�r�s r�test_indentlevel�DisTests.test_indentlevel�s�����y�#��	�	rc�:�UR[S5S5 g)Nr�z�(    MARK
N        NONE
(        MARK
t            TUPLE      (MARK at unknown opcode offset)
l        LIST       (MARK at unknown opcode offset)
.    STOP
highest protocol among opcodes = 0
)r�r@r�s r�test_mark_without_pos�DisTests.test_mark_without_pos�s�����|�I�.�1�	rc�*�URSSS5 g)NsNt.z@    0: N    NONE
    1: t    TUPLE      no MARK exists on stack
zno MARK exists on stack�r�r�s r�test_no_mark�DisTests.test_no_mark�s�����V�&��	 rc�(�URSS5 g)Ns
Np0
qr�.z�    0: N    NONE
    1: p    PUT        0
    4: q    BINPUT     1
    6: r    LONG_BINPUT 2
   11: \x94 MEMOIZE    (as 3)
   12: .    STOP
highest protocol among opcodes = 4
r�r�s r�test_put�DisTests.test_put�s�����:�=�	rc��URSSS5 URSSS5 URSSS5 URSS	S
5 g)NsNp1
p1
.zC    0: N    NONE
    1: p    PUT        1
    4: p    PUT        1
zmemo key 1 already definedsNp1
q.zC    0: N    NONE
    1: p    PUT        1
    4: q    BINPUT     1
s
Np1
r.zD    0: N    NONE
    1: p    PUT        1
    4: r    LONG_BINPUT 1
sNp1
�.zH    0: N    NONE
    1: p    PUT        1
    4: \x94 MEMOIZE    (as 1)
zmemo key None already definedr�r�s r�test_put_redefined�DisTests.test_put_redefined�sq�����]�-�"�		#�
	
���^�.�"�		#�
	
���7�:�"�		#�
	
���]�-�%�		&rc�*�URSSS5 g)Nsp0
z    0: p    PUT        0
z'stack is empty -- can't store into memor�r�s r�test_put_empty_stack�DisTests.test_put_empty_stack�s�����W�'�.�	0rc�*�URSSS5 g)Ns(p0
z.    0: (    MARK
    1: p        PUT        0
z"can't store markobject in the memor�r�s r�test_put_markobject�DisTests.test_put_markobject�s�����X�(�*�	+rc�(�URSS5 g)Ns(Np1
g1
hjt.z�    0: (    MARK
    1: N        NONE
    2: p        PUT        1
    5: g        GET        1
    8: h        BINGET     1
   10: j        LONG_BINGET 1
   15: t        TUPLE      (MARK at 0)
   16: .    STOP
highest protocol among opcodes = 1
r�r�s r�test_get�DisTests.test_gets�����<�
?�
	rc�v�URSSS5 URSSS5 URSSS5 g)N�g1
.z    0: g    GET        1
z%memo key 1 has never been stored intosh.z    0: h    BINGET     1
sj.z    0: j    LONG_BINGET 1
r�r�s r�test_get_without_put�DisTests.test_get_without_put
sO�����X�(�,�	.�	
���Y�)�,�	.�	
���2�5�,�	.rc�L�0nURSSUS9 URSSUS9 g)NsNp1
.z^    0: N    NONE
    1: p    PUT        1
    4: .    STOP
highest protocol among opcodes = 0
)�memor�zM    0: g    GET        1
    3: .    STOP
highest protocol among opcodes = 0
r�)rr�s  r�	test_memo�DisTests.test_memosC�������y�#�
�	�	�	
���x�"��		�	rc�(�URSS5 g)Ns(N00N.z�    0: (    MARK
    1: N        NONE
    2: 0        POP
    3: 0        POP        (MARK at 0)
    4: N    NONE
    5: .    STOP
highest protocol among opcodes = 0
r�r�s r�
test_mark_pop�DisTests.test_mark_pop&r�rc�P�URSSS5 URSSS5 g)N�az    0: a    APPEND
z1tries to pop 2 items from stack with only 0 itemss]az*    0: ]    EMPTY_LIST
    1: a    APPEND
z1tries to pop 2 items from stack with only 1 itemsr�r�s r�test_too_small_stack�DisTests.test_too_small_stack1s6�����T�$�8�	:�	
���U�%�9�	:rc�*�URSSS5 g)Nrz�    0: N    NONE
r|r�r�s rr��DisTests.test_no_stop:s�����T�$�*�	,rc�P�URSSS5 URSSS5 g)NsNI123r�r�sNJ4r�r�r�s rr��DisTests.test_truncated_data?s4�����X�(�4�	6�	
���]�-�-�	/rc�*�URSSS5 g)Nr�r�r�r�r�s rr��DisTests.test_unknown_opcodeGs�����X�(�.�	0rc�*�URSSS5 g)Ns]N.z\    0: ]    EMPTY_LIST
    1: N    NONE
    2: .    STOP
highest protocol among opcodes = 1
z$stack not empty after STOP: \[list\]r�r�s r�test_stop_not_empty_stack�"DisTests.test_stop_not_empty_stackLs�����V�&�
-�	.rc�j�URSSSS9 URSSSS9 URSSSS9 g)	Ns(Nt.a,    0: (    MARK Push markobject onto the stack.
    1: N        NONE Push None on the stack.
    2: t        TUPLE      (MARK at 0) Build a tuple out of the topmost stack slice, after markobject.
    3: .    STOP                       Stop the unpickling machine.
highest protocol among opcodes = 0
r)�annotatea>    0: (    MARK            Push markobject onto the stack.
    1: N        NONE        Push None on the stack.
    2: t        TUPLE      (MARK at 0) Build a tuple out of the topmost stack slice, after markobject.
    3: .    STOP                       Stop the unpickling machine.
highest protocol among opcodes = 0
ros(((((((ttttttt.a�    0: (    MARK            Push markobject onto the stack.
    1: (        MARK        Push markobject onto the stack.
    2: (            MARK    Push markobject onto the stack.
    3: (                MARK Push markobject onto the stack.
    4: (                    MARK Push markobject onto the stack.
    5: (                        MARK Push markobject onto the stack.
    6: (                            MARK Push markobject onto the stack.
    7: t                                TUPLE      (MARK at 6) Build a tuple out of the topmost stack slice, after markobject.
    8: t                            TUPLE      (MARK at 5) Build a tuple out of the topmost stack slice, after markobject.
    9: t                        TUPLE      (MARK at 4) Build a tuple out of the topmost stack slice, after markobject.
   10: t                    TUPLE      (MARK at 3)     Build a tuple out of the topmost stack slice, after markobject.
   11: t                TUPLE      (MARK at 2)         Build a tuple out of the topmost stack slice, after markobject.
   12: t            TUPLE      (MARK at 1)             Build a tuple out of the topmost stack slice, after markobject.
   13: t        TUPLE      (MARK at 0)                 Build a tuple out of the topmost stack slice, after markobject.
   14: .    STOP                                       Stop the unpickling machine.
highest protocol among opcodes = 0
r�r�s r�
test_annotate�DisTests.test_annotateTs^�����w�!��
	�	�	
���w�!��
	�	�	
���)�,�"�#	�	rc�p�URSS5 URSS5 URSS5 g)NsS'abc'
.zQ    0: S    STRING     'abc'
    7: .    STOP
highest protocol among opcodes = 0
sS"abc"
.sS'õ'
.zV    0: S    STRING     '\xc3\xb5'
    6: .    STOP
highest protocol among opcodes = 0
r�r�s r�test_string�DisTests.test_stringvs@�����|�&�	�
	
���|�&�	�
	
���(�+�	rc���URSSS5 URSSS5 URSSS5 URSSS	5 URS
SS5 URSSS
5 g)NsSabc'
.�zno string quotes around b"abc'"sSabc"
.zno string quotes around b'abc"'sS'abc
.z3string quote b"'" not found at both ends of b"'abc"sS"abc
.z3string quote b'"' not found at both ends of b'"abc'sS'abc"
.z6string quote b"'" not found at both ends of b'\\'abc"'sS"abc'
.z6string quote b'"' not found at both ends of b'"abc\\''r�r�s r�test_string_without_quotes�#DisTests.test_string_without_quotes�s������[�"�?�	A����[�"�?�	A����[�"�V�	X����[�"�W�	Y����]�B�Z�	\����]�B�Z�	\rc�L�URSS5 URSS5 g)Ns	Tabc.zQ    0: T    BINSTRING  'abc'
    8: .    STOP
highest protocol among opcodes = 1
sTõ.zV    0: T    BINSTRING  '\xc3\xb5'
    7: .    STOP
highest protocol among opcodes = 1
r�r�s r�test_binstring�DisTests.test_binstring�s,�����/�2�	�
	
���4�7�	rc�L�URSS5 URSS5 g)NsUabc.zV    0: U    SHORT_BINSTRING 'abc'
    5: .    STOP
highest protocol among opcodes = 1
sUõ.z[    0: U    SHORT_BINSTRING '\xc3\xb5'
    4: .    STOP
highest protocol among opcodes = 1
r�r�s r�test_short_binstring�DisTests.test_short_binstring�s+�����|�&�	�
	
���(�+�	rc�L�URSS5 URSS5 g)Nscmodule
name
.zY    0: c    GLOBAL     'module name'
   13: .    STOP
highest protocol among opcodes = 0
scmödule
näme
.u[    0: c    GLOBAL     'mödule näme'
   15: .    STOP
highest protocol among opcodes = 0
r�r�s r�test_global�DisTests.test_global�s,�����*�-�	�
	
���8�;�	rc�(�URSS5 g)Ns(imodule
name
.zz    0: (    MARK
    1: i        INST       'module name' (MARK at 0)
   14: .    STOP
highest protocol among opcodes = 0
r�r�s r�	test_inst�DisTests.test_inst�s�����+�.�	rc�(�URSS5 g)NsPabc
.zQ    0: P    PERSID     'abc'
    5: .    STOP
highest protocol among opcodes = 0
r�r�s r�test_persid�DisTests.test_persid�s�����z�$�	rr7)!r8r9r:r;�maxDiffr�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r�r>r7rrr�r��s����G�3�
3�	�	�	� �	�&�,0�
+��	.��	�:�,�
/�0�
.� �D�"\�
�
�
��rr�c��\rSrSrSrSrg)�MiscTestCasei�c�@�1Skn[R"U[US9 g)N>O�int4�long1�long4�pyint�pyset�uint1�uint2�uint4�uint8�bytes1�bytes4�bytes8�float8�pybool�pydict�pylist�pylong�pynone�code2op�floatnl�opcodes�pybytes�pyfloat�pytuple�string1�string4�pybuffer�pystring�stringnl�	anyobject�	pyunicode�	read_int4�
OpcodeInfo�
bytearray8�
markobject�
read_long1�
read_long4�
read_uint1�
read_uint2�
read_uint4�
read_uint8�
stackslice�StackObject�bytes_types�pybytearray�pyfrozenset�read_bytes1�read_bytes4�read_bytes8�read_float8�read_floatnl�read_string1�read_string4�
UP_TO_NEWLINE�
read_stringnl�decimalnl_long�pybytes_or_str�unicodestring1�unicodestring4�unicodestring8�decimalnl_short�read_bytearray8�unicodestringnl�pyinteger_or_bool�stringnl_noescape�ArgumentDescriptor�read_decimalnl_long�read_unicodestring1�read_unicodestring4�read_unicodestring8�TAKEN_FROM_ARGUMENT1�TAKEN_FROM_ARGUMENT4�read_decimalnl_short�read_unicodestringnl�TAKEN_FROM_ARGUMENT4U�TAKEN_FROM_ARGUMENT8U�read_stringnl_noescape�stringnl_noescape_pair�read_stringnl_noescape_pair)�not_exported)r�check__all__r
)rrHs  r�test__all__�MiscTestCase.test__all__�s��
��8	���T�;�\�Jrr7N)r8r9r:r;rJr>r7rrr�r��s��Krr�c�X�UR[R"[55 U$r	)�addTest�doctest�DocTestSuiter
)�loader�tests�patterns   r�
load_testsrS�s��	�M�M�'�&�&�{�3�4��Lr�__main__)rprr
�testr�test.pickletesterrrN�unittest�TestCaserr@rSr�r�rSr8�mainr7rr�<module>rZs���	�
���1���62�.��0A�0A�62�r��&G�(�#�#�G�Tg�x� � �g�T	K�8�$�$�K�B�
�z���M�M�O�r

Youez - 2016 - github.com/yon3zu
LinuXploit