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 :  /Python315/Lib/test/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /Python315/Lib/test/__pycache__/test_int.cpython-315.pyc
R
>lqjh�c���]PHs]PHs]QHGs]QHGs]QHGsGs]PH"s]PH*s
QQQQQQQQQQ\\O2\O1Q\
1QQ\
1P\
1Q\
1Q\
1Q\
1,sQ	Q
\2sQQ\O"2sQ
Q\O"2sQQ\2sQQ\O"2s\Q6Xc\O.2P!P!\	cPsK�h9h\	cPs
K�h9h)�)�mock)�support)�VALID_UNDERSCORE_LITERALS�INVALID_UNDERSCORE_LITERALSz  1xz  1  � �  		  uȀc��\sQs]*sQsP!)�IntSubclass���__name__�
__module__�__qualname__�__firstlineno__�__static_attributes__r
��"C:\Python315\\Lib\test\test_int.pyr	r	*s��rr	c��`�\sQs]-snQsQsQsQs\OQ2s
QsQsQs
Q	sQ
sQsQsQ
sQsQsQsQsQsQs\OQ2sQsUsP!)�IntTestCasesc�$�UO[Q2Q2UO[Q2]2UO[Qp2Qq2UO[Q2]2UO[Qr2Qq2UO[Q2]2UO[Qs2Qq2UO[Q2Qq2UO[Q2Qq2UO[Q2Qq2UO[Q]2]2[FDZvqQtFDNoQuFDDoVC*U*oSoUQ6XcU[IcU'oUO[U2U2JF	JP	J\	[	P[
O*
2o[U2oUOU]*[
O'2UOU[2UO[UQ	*2[
O]*2[Q
2oUOU[2[Qv2oUOU[2P[
O*
oUOU]*	U]*2[Qw2oUOU[2UO[[]]2UO[[Q]]2UO[Q]2]S2UO[Q]2Q
2UO[[Q]2UO[[Q]2UO[[Q]2UO[[Q]2UO[[Q]2UO[[Q]2UO[Q]2Q2UO[Q]2Q2UO[Q]2Q2UO[Q]2Q2UO[Q]2Q2UO[Q]2Q2UO[Q]2Q2UO[Q]	2Q2UO[Q]
2Q2UO[Q]2Q2UO[Q]2Q2UO[Q]
2Q2UO[Q]2Q2UO[Q]2Q2UO[Q ]2Q2UO[Q!]2Q2UO[Q"]2Q2UO[Q#]2Q2UO[Q$]2Q2UO[Q%]2Q2UO[Q&]2Q2UO[Q']2Q2UO[Q(]2Q2UO[Q)]2Q2UO[Q*]2Q2UO[Q+]2Q2UO[Q,]2Q2UO[Q-]2Q2UO[Q.]2Q2UO[Q/]2Q2UO[Q0] 2Q2UO[Q1]!2Q2UO[Q2]"2Q2UO[Q3]#2Q2UO[Q4]$2Q2UO[Q5]2]S2UO[Q5]2]S2UO[Q6]2]2UO[Q]2]S2UO[Q]2Q
2UO[Q7]2]2UO[Q8]2]S2UO[Q9]2Q
2UO[Q:]2]2UO[29^tt^2[Q;]2PPP2UO[Q<2]{2UO[Q<]
2]{2UO[Q]2Q
2UO[Q]2]S2UO[Q7]2]2UO[Q=]2Q
2UO[Q>]2]S2UO[Q?]2]2UO[[Q@]2UO[[QA]2UO[[QB]2UO[[QC]2UO[[QD]2UO[[QE]2UO[[QF]2UO[[QG]2UO[[QH]2UO[[QI]2UO[[QJ]2UO[[QK]2UO[QL]2QM2UO[QN]2QM2UO[QO]2QM2UO[QP]2QM2UO[QQ]2QM2UO[QR]2QM2UO[QS]2QM2UO[QT]	2QM2UO[QU]
2QM2UO[QV]2QM2UO[QW]2QM2UO[QX]
2QM2UO[QY]2QM2UO[QZ]2QM2UO[Q[]2QM2UO[Q\]2QM2UO[Q]]2QM2UO[Q^]2QM2UO[Q_]2QM2UO[Q`]2QM2UO[Qa]2QM2UO[Qb]2QM2UO[Qc]2QM2UO[Qd]2QM2UO[Qe]2QM2UO[Qf]2QM2UO[Qg]2QM2UO[Qh]2QM2UO[Qi]2QM2UO[Qj]2QM2UO[Qk] 2QM2UO[Ql]!2QM2UO[Qm]"2QM2UO[Qn]#2QM2UO[Qo]$2QM2P![cC
J�h9h)%fhCK)9h)x�:g��Q�	@g333333@g@z-3z -3 u -3 �10�-:�NNg}Ô%�I�T�0o123�0x123�#�0x�0o�0b�!100000000000000000000000000000000l�102002022201221111211�10000000000000000�32244002423141�
1550104015504�211301422354�40000000000�12068657454�
4294967296�
1904440554�	9ba461594�	535a79889�	2ca5b7464�	1a20dcd81�	100000000�a7ffda91�704he7g4�4f5aff66�3723ai4g�281d55i4�1fj8b184�1606k7ic�mb994ag�hek2mgl�dnchbnm�b28jpdm�8pfgih4�76beigg�5qmcpqg�4q0jto4�4000000�3aokq94�2qhxjli�2br45qb�1z141z4z 0o123  �000�0b100z	 0O123   z 0X123  z 0B100 �010�0123�0X123�0O123�0B100�0b2�0b02�0B2�0B02�0o8�0o08�0O8�0O08�0xg�0x0g�0Xg�0X0g�!100000000000000000000000000000001l�102002022201221111212�10000000000000001�32244002423142�
1550104015505�211301422355�40000000001�12068657455�
4294967297�
1904440555�	9ba461595�	535a7988a�	2ca5b7465�	1a20dcd82�	100000001�a7ffda92�704he7g5�4f5aff67�3723ai4h�281d55i5�1fj8b185�1606k7id�mb994ah�hek2mgm�dnchbnn�b28jpdn�8pfgih5�76beigh�5qmcpqh�4q0jto5�4000001�3aokq95�2qhxjlj�2br45qc�1z141z5g��Q�	����g333333�g�)��+r)rzr�	rg}Ô%�I��X111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111)
�assertEqual�int�L�
ValueError�repr�sys�maxsize�assertIsInstance�assertRaises�	TypeError)�self�s�v�sign�prefix�ss�vv�xs&       r�
test_basic�IntTestCases.test_basic/s�������S��3�'�����T��A�&�����U��R�(�����S��1�%�����T��B�'�����S��1�%�����T��B�'�����T��B�'�����V��b�)�����9�:�B�?�����T�"��r�*��A�D�A�$��7�F����*�B��B��s�{�q�
�':��R����(�(��R��"�5�
8�%��
��C�K�K�� ����F������1��s�{�{�l�+����a��%�����Q�r�U��S�[�[��]�3�
��J�����a��%���K�����a��%�
�s�{�{�N������a���A��&��	�N�����a��%�	
���)�S�!�R�0����)�S�$��1�5�����W�a��"�-�����W�b�)�3�/�	
���*�c�4��4����*�c�4��3����*�c�4��3����*�c�4��3����*�c�4��3����*�c�4��3�	
����@�!�D�j�Q�����4�a�8�*�E�����0�!�4�j�A�����-�q�1�:�>�����_�a�0�*�=�����^�Q�/��<�����]�A�.�
�;�����]�A�.�
�;�����\�2�.�
�;�����\�2�.�
�;�����[�"�-�z�:�����[�"�-�z�:�����[�"�-�z�:�����[�"�-�z�:�����[�"�-�z�:�����Z��,�j�9�����Z��,�j�9�����Z��,�j�9�����Z��,�j�9�����Z��,�j�9�����Z��,�j�9�����Z��,�j�9�����Y��+�Z�8�����Y��+�Z�8�����Y��+�Z�8�����Y��+�Z�8�����Y��+�Z�8�����Y��+�Z�8�����Y��+�Z�8�����Y��+�Z�8�����Y��+�Z�8�����Y��+�Z�8�����Y��+�Z�8�����Y��+�Z�8�����Y��+�Z�8�	
����Z��+�R�0�����Z��+�R�0�����U�A���*�����W�a��"�-�����W�a��#�.�����W�a��!�,�����[�!�,�b�1�����Z��+�S�1�����Y��*�A�.�
�
�
�z�
*�
*���q�M�+�	
����V��c�*�����V�R��#�.�	
����W�b�)�3�/�����W�a��"�-�����W�a��!�,�����W�b�)�3�/�����W�a��"�-�����W�a��!�,�	
���*�c�5�!�4����*�c�6�1�5����*�c�5�!�4����*�c�6�1�5����*�c�5�!�4����*�c�6�1�5����*�c�5�!�4����*�c�6�1�5����*�c�5�"�5����*�c�6�2�6����*�c�5�"�5����*�c�6�2�6�	
����@�!�D�j�Q�����4�a�8�*�E�����0�!�4�j�A�����-�q�1�:�>�����_�a�0�*�=�����^�Q�/��<�����]�A�.�
�;�����]�A�.�
�;�����\�2�.�
�;�����\�2�.�
�;�����[�"�-�z�:�����[�"�-�z�:�����[�"�-�z�:�����[�"�-�z�:�����[�"�-�z�:�����Z��,�j�9�����Z��,�j�9�����Z��,�j�9�����Z��,�j�9�����Z��,�j�9�����Z��,�j�9�����Z��,�j�9�����Y��+�Z�8�����Y��+�Z�8�����Y��+�Z�8�����Y��+�Z�8�����Y��+�Z�8�����Y��+�Z�8�����Y��+�Z�8�����Y��+�Z�8�����Y��+�Z�8�����Y��+�Z�8�����Y��+�Z�8�����Y��+�Z�8�����Y��+�Z�8��A&�����|+�
*�
*�s*�*{+�
{>�+	{;�5{;�:{;�>|	�|	c��UO[29^tt^2[Q2PPP2UO[29^tt^2[Q2PPP2UO[29^tt^2[Q2PPP2UO[29^tt^2[Q2PPP2UO[29^tt^2[Q2PPP2P!)%fhK�9h)%fhK�9h)%fhK�9h)%fhK|9h)%fhP!9h)r{rz- 1z+ 1z + 1 �r�r�r�r�s&r�test_invalid_signs�IntTestCases.test_invalid_signs�s���
�
�
�z�
*�
*���H�+�
�
�
�z�
*�
*���H�+�
�
�
�z�
*�
*���J�+�
�
�
�z�
*�
*���J�+�
�
�
�z�
*�
*���L�+�
*�+�
*��
*�
*��
*�
*��
*�
*��
*�
*�
*�sY�C9�D�D�2D2�#E�9D		�D		�D	�D	�D/	�(D/	�2E	�;E	�E	�E	c���UO[Q2Q2UO[Q2Q2UO[Q]2Q2UO[Q]2Q2P!)u(१२३४५६७८९०1234567890l�
>V3&�Z
u١٢٣٤٥٦٧٨٩٠���I�r~rr�s&r�test_unicode�IntTestCases.test_unicode�s`������G�H�J^�_�����3�4�j�A�����G��K�Ma�b�����3�Q�7��Drc�`�[FD�n[9PIcU1QkQ2D%fJP	L	P
LU1QkQ22%cJDUO[R]2[	R22UO[R]2[ROQP2]22J�	[FD`n[9PIcU1QkQ2D%fJP	L	P
LU1QkQ22%cJDUO[[R]2Jb	UO[Q]2]	2UO[Q2]d2UO[Q2]d2UO[[Q2UO[[Q2UO[[Q	2UO[[Q
2P!)c3�8:�SF �D
pR7w�	J	P!3h�Nr
��.0�ch�lits& �r�	<genexpr>�0IntTestCases.test_underscores.<locals>.<genexpr>����w���w���9�w���z.eEjJ�_c3�8:�SF �D
pR7w�	J	P!3hr�r
r�s& �rr�r�r�r��1_00�0_100s1_00�_100z+_100�1__00�100_)	r�anyr~r�eval�replacerr�r�)r�r�s&@r�test_underscores�IntTestCases.test_underscores�sE���,�,�C��s�/�w�/�s�s�s�/�w�/�/�/�����S��a�[�$�s�)�4����S��a�[�#�c�k�k�#�r�.B�A�*F�G�	-�
/�.�C��s�/�w�/�s�s�s�/�w�/�/�/�����j�#�s�A�6�/�
	
����V�Q���+�����W��s�+�����W��s�+����*�c�6�2����*�c�7�3����*�c�7�3����*�c�6�2rc���UO[Q2]
2UO[Q2P2UO[Q2]
2UO[Q2P2P!)rz-1s10s-1)�assertIsrr�s&r�test_small_ints�IntTestCases.test_small_intssL��	
�
�
�c�$�i��$��
�
�c�$�i��$��
�
�c�%�j�"�%��
�
�c�%�j�"�%rc�<�UO[2]2P!�rr�r�s&r�test_no_args�IntTestCases.test_no_argss��������"rc���UO[Q]Q5]2UO[Q29^tt^2[QQ5PPP2UO[Q29^tt^2[Q]Q5PPP2UO	[[]
Q5UO	[[]Q5P!)%fhK~9h)%fhK]9h)�100��basezkeyword argumentg333333�?)r�)r�r�)r~r�assertRaisesRegexr�r�r�s&r�test_keyword_args�IntTestCases.test_keyword_argss�������U��+�Q�/�
�
#�
#�I�/A�
B�
B��#�J�C�
�
#�
#�I�/A�
B�
B��%�a� �C����)�S�r��2����)�S�q��1�C�
B��
B�
B�s#�
C�0C�C	�	C	�C#	�C#	c	��UO[Q]2]2UO[29^tt^2[Q]2PPP2UO[29^tt^2[Q]%2PPP2UO[29^tt^2[QQ2PPP2UO[29^tt^2[Q]]]�**
Q5PPP2UO[29^tt^2[Q]]�*Q5PPP2[	]]%2FD oUO[QUQ5]2J"	P!)%fhCK#9h)%fhCK9h)%fhK�9h)%fhK�9h)%fhK�9h)z9Testing the supported limits of the int() base parameter.�0r�is���)r~rr�r��range�r�r�s& r�test_int_base_limits�!IntTestCases.test_int_base_limits#s������S�!��a�(�
�
�
�z�
*�
*���Q�K�+�
�
�
�z�
*�
*���R�L�+�
�
�
�z�
*�
*���T�N�+�
�
�
�z�
*�
*���!�Q��V�*�%�+�
�
�
�z�
*�
*���!�S�&�!�+��!�B�K�D����S��4�0�!�4� �+�
*�
*��
*�
*�
*��
*�
*��
*�
*��
*�
*�sY�
E"�-
E6�
F
�F�F0�"E3	�+E3	�6F	�?F	�
F	�F	�F-	�&F-	�0G	�9G	c��UO[29^tt^2[QQ2PPP2UO[29^tt^2[QQ2PPP2P!)%fhKD9h)%fhP!9h)z2Not integer types are not valid bases; issue16772.r�g@g@)r�r�rr�s&r�test_int_base_bad_types�$IntTestCases.test_int_base_bad_types4sV��
�
�
�y�
)�
)���S�M�*�
�
�
�y�
)�
)���S�M�*�
)�*�
)��
)�
)�
)�s#�
A(�
A;�(A8	�1A8	�;B	�B	c	��QQ[2o]]d*]]d*']]%1FD5oUO[29^tt^2[QU2PPP2J7	UO	[QU]2Q5]2UO	[QU]
2Q5]e2UO	[QU]$2Q5Q2P!)%fhJ�9h)c�.`�\sQsQsnQsQsQsUsP!)�9IntTestCases.test_int_base_indexable.<locals>.MyIndexable�<c��VmP!r���value)r�r�s&&r�__init__�BIntTestCases.test_int_base_indexable.<locals>.MyIndexable.__init__=s��"�
rc��UO!r�r�r�s&r�	__index__�CIntTestCases.test_int_base_indexable.<locals>.MyIndexable.__index__?s���z�z�!rr�)rr
rrr�r�r�__classdictcell__��
__classdict__s@r�MyIndexabler�<s����
#�
"�
"rr��43�101r�i)�objectr�r�rr~)r�r�r�s&  r�test_int_base_indexable�$IntTestCases.test_int_base_indexable;s���	"�&�	"��s�F�Q��V�G�Q��*�D��"�"�:�.�.��D�$��/�.�+�
	
����U��Q��8�!�<�����U��R��9�3�?�����U��R��9�9�E�
/�.�.�s�
C	�C
�C
c�n``�QQ[2nQQ[2oQQ[2o[[U1QkUU[,o]QHGnUOU1Qk2SFD�oUQ	2oUO[U229^tt^2UO[U2]d2[U[[[12%cUO[U]2]2L5Q
oUO[U29^tt^2[U]2PPP2UO[Q29^tt^2[UQ22PPP2PPP2J�	P![cCKh9h)%fhKh9h)%fhKC9h)%fhCJL9h)
c��\sQsQsQsP!)�<IntTestCases.test_non_numeric_input_types.<locals>.CustomStr�Or
rr
rr�	CustomStrr�Os��drr�c��\sQsQsQsP!)�>IntTestCases.test_non_numeric_input_types.<locals>.CustomBytes�Pr
rr
rr�CustomBytesr�Ps��$rr�c��\sQsQsQsP!)�BIntTestCases.test_non_numeric_input_types.<locals>.CustomByteArray�Qr
rr
rr�CustomByteArrayr�Qs��$rr�c�2:�RUO22!r�)�decode)�br�s&�r�<lambda>�;IntTestCases.test_non_numeric_input_types.<locals>.<lambda>Vs���i����
�+r)�arrayc�:�RQU2!)�Br
)r�r�s&�rr�r�`s���u�S�!�}rs100zcan't convert non-stringzinvalid literalsAAAAAAAAAAAAAAAA)�str�bytes�	bytearray�
memoryviewr��append�ImportError�subTest�typer~r�
isinstancer�r�r�)	r�r�r��	factories�fr��msgr�r�s	&      @@r�test_non_numeric_input_types�)IntTestCases.test_non_numeric_input_typesLs;���	#��"�&�%�&�.�i�.�
��+����

�	�	6�#�
���4�5��A��&�	�A����d�1�g�&�&�� � ��Q���-��a�#�u�i�!8�9�9��$�$�S��A�Y��2�4�C��/�/�	�3�?�?��A�q�	�@��+�+�J�8I�J�J���+��'�K�'�&����	��	��@�?��J�J��'�&�&�sl�
E*�<F"	�=F"	�
E<
�&F"	�F
�F"	�*	E9�4E9�8E9�<F�F�F"	�F�F�F"	�"F4
�+F4
c��UO[[Q2Q*2]2UO[[Q2Q*2]2UO[[Q2Q*2]2UO[[Q2Q*2]2UO[[Q2Q*2]2P!)s123:r�N�123s123 s123As1234)r~rr�r�s&r�test_int_memoryview� IntTestCases.test_int_memoryviewos�������Z��/��4�5�r�:�����Z�
�3�C�8�9�2�>�����Z��0��5�6��;�����Z��0��5�6��;�����Z��0��5�6��;rc�>�UO[[Q2P!)z1.2r�r�s&r�test_string_float�IntTestCases.test_string_floatvs�����*�c�5�1rc	�B�QQ2oUO[[U22QQ[2oUO[[U22QQ2oUO	[U22]*2QQ2o[U1FDooQQ	U2oUO	[U22]*2Q
QU2oUO[29^tt^2[U22PPP2Jq	P!)%fhJ�9h)c��\sQsQsQsP!)�>IntTestCases.test_intconversion.<locals>.ClassicMissingMethods�{r
rr
rr�ClassicMissingMethodsr
{���rrc��\sQsQsQsP!)�7IntTestCases.test_intconversion.<locals>.MissingMethods�r
rr
rr�MissingMethodsrrrrc�(`�\sQsQsnQsQsUsP!)�-IntTestCases.test_intconversion.<locals>.Foo0�c��]*!��*r
r�s&r�__int__�5IntTestCases.test_intconversion.<locals>.Foo0.__int__����rr
�rr
rrrrr�r�s@r�Foo0r������
�
rrc��\sQsQsQsP!)�0IntTestCases.test_intconversion.<locals>.Classic�r
rr
rr�Classicr"�rrr$c�.`�\sQsQsnQsQsQsUsP!)�:IntTestCases.test_intconversion.<locals>.IntOverridesTrunc�c��]*!rr
r�s&rr�BIntTestCases.test_intconversion.<locals>.IntOverridesTrunc.__int__����rc��Q!)�i�r
r�s&r�	__trunc__�DIntTestCases.test_intconversion.<locals>.IntOverridesTrunc.__trunc__�s���Jrr
)rr
rrrr-rr�r�s@r�IntOverridesTruncr&�s������rr/c�(`�\sQsQsnQsQsUsP!)�2IntTestCases.test_intconversion.<locals>.JustTrunc�c��]*!rr
r�s&rr-�<IntTestCases.test_intconversion.<locals>.JustTrunc.__trunc__�r*rr
)rr
rrr-rr�r�s@r�	JustTruncr1�s�����rr5)r�r�rr�r~)r�rrrr$r�r/r5s&       r�test_intconversion�IntTestCases.test_intconversionys���	�	����)�S�*?�*A�B�	�V�	����)�S�.�*:�;�	�	�	
����T�V��b�)�	�	��W�%�D�
�D�
�

���S�!2�!4�5�r�:�
�D�
��"�"�9�-�-��I�K� �.�-�&�.�-�-�s�.D
	�
D
�D
c���QQ[2oQQ[2oU]2oUOU]2UO[U2]2UO[U22]2P!)c�(`�\sQsQsnQsQsUsP!)�:IntTestCases.test_int_subclass_with_index.<locals>.MyIndex�c��]*!rr
r�s&rr��DIntTestCases.test_int_subclass_with_index.<locals>.MyIndex.__index__�rrr
�rr
rrr�rr�r�s@r�MyIndexr:�r rr?c�(`�\sQsQsnQsQsUsP!)�;IntTestCases.test_int_subclass_with_index.<locals>.BadIndex�c��Q!�gE@r
r�s&rr��EIntTestCases.test_int_subclass_with_index.<locals>.BadIndex.__index__����rr
r>r�s@r�BadIndexrA������
�
rrG)rr~)r�r?rG�my_ints&   r�test_int_subclass_with_index�)IntTestCases.test_int_subclass_with_index�s_��	�c�	�	�s�	����������#�����V��a�(�����X�Z��!�,rc��QQ[2oQQ[2oU]2oUOU]2UO[U2]*2U]2oUOU]2UO[[U2P!)c�(`�\sQsQsnQsQsUsP!)�6IntTestCases.test_int_subclass_with_int.<locals>.MyInt�c��]*!rr
r�s&rr�>IntTestCases.test_int_subclass_with_int.<locals>.MyInt.__int__�rrr
rr�s@r�MyIntrN�r rrRc�(`�\sQsQsnQsQsUsP!)�7IntTestCases.test_int_subclass_with_int.<locals>.BadInt�c��Q!rDr
r�s&rr�?IntTestCases.test_int_subclass_with_int.<locals>.BadInt.__int__�rFrr
rr�s@r�BadIntrT�rHrrX)rr~r�r�)r�rRrXrIs&   r�test_int_subclass_with_int�'IntTestCases.test_int_subclass_with_int�st��	�C�	�	�S�	��q��������#�����V��b�)����������#����)�S�&�1rc���QQ2oQQ[2oQQ2oQQ[2oU2oUO[29^tt^2[U2oPPP2UOW]2UO	[U2[2U2o[U2oUOU]2UO	[U2[2U2oUO[29^tt^2[U2oPPP2UOU]2UO	[U2[2U2oUO[29^tt^2[U2oPPP2UOU]2UO	[U2[2P!)%fhCKY9h)%fhK�9h)%fhKj9h)c�(`�\sQsQsnQsQsUsP!)�<IntTestCases.test_int_returns_int_subclass.<locals>.BadIndex�c��P	!�Tr
r�s&rr��FIntTestCases.test_int_returns_int_subclass.<locals>.BadIndex.__index__�rFrr
r>r�s@rrGr]�rHrrGc�(`�\sQsQsnQsQsUsP!)�=IntTestCases.test_int_returns_int_subclass.<locals>.BadIndex2�c��P	!r`r
r�s&rr��GIntTestCases.test_int_returns_int_subclass.<locals>.BadIndex2.__index__�rFrr
r>r�s@r�	BadIndex2rc�rHrrgc�(`�\sQsQsnQsQsUsP!)�:IntTestCases.test_int_returns_int_subclass.<locals>.BadInt��c��P	!r`r
r�s&rr�BIntTestCases.test_int_returns_int_subclass.<locals>.BadInt.__int__�rFrr
rr�s@rrXri�rHrrXc�(`�\sQsQsnQsQsUsP!)�;IntTestCases.test_int_returns_int_subclass.<locals>.BadInt2��c��P	!r`r
r�s&rr�CIntTestCases.test_int_returns_int_subclass.<locals>.BadInt2.__int__�rFrr
rr�s@r�BadInt2rn�rHrrr)r�assertWarns�DeprecationWarningr~r�r�)r�rGrgrXrr�bad_int�ns&      r�test_int_returns_int_subclass�*IntTestCases.test_int_returns_int_subclass�s[��	�	�	��	�	�	�	�c�	��*��
�
�
�0�
1�
1��G��A�2�����A���
�
�d�1�g�s�#��+����L������A���
�
�d�1�g�s�#��(��
�
�
�0�
1�
1��G��A�2�����A���
�
�d�1�g�s�#��)��
�
�
�0�
1�
1��G��A�2�����A���
�
�d�1�g�s�#�)2�
1�
1��2�
1��2�
1�s6�F4�G�-G�4G	�=G	�G	�G	�G+	�$G+	c�`�QU1QkkoUQ2UQ2UQ2UQ2UQ]
2UQ]2UQ]2UQ]2UQ]2UQ2UQ]
2UQ	2UQ	]
2UQ
2UQ
]
2P!)Nc�@:�RO[QU8QU8Q0Q59^tt^2oUe
[U2L[V2PPP2ROWOO
]*QUe]
LSU1*2P!)%fhKN9h)zint(z, �))rz*invalid literal for int() with base %d: %r)r�r�rr~�	exception�args)r�r��cmr�s&& �r�check�.IntTestCases.test_error_message.<locals>.check�s�����"�"�:�89�4�'@�#�B�B�EG��<���F���L�B�
���R�\�\�.�.�q�1�<��|���q�1�2�
3�
B�B�s�B
�B
�
B	�B	�½u123½z  123 456  z123z123 245z123245rs123�u123�r�r
)r�rsf r�test_error_message�IntTestCases.test_error_message�s����		3�	�f�
�
�i��
�m��
�i��
�i���
�m�R� �
�m�R� �
�l�B��
�l�B��
�j��
�j�"��
�j��
�j�"��
�k��
�k�2�rc���UO[Q]2Q2UO[Q]2Q2UO[Q]2Q2UO[Q] 2Q2P!)�=1_0_1_0_1_0_1_0_1_0_1_0_1_0_1_0_1_0_1_0_1_0_1_0_1_0_1_0_1_0_1iUUUU�1_2_3_4_5_6_7_0_1_2_3iSp�S�1_2_3_4_5_6_7_8_9l�g�F�
1_2_3_4_5_6_7i�2Dr�r�s&r�test_issue31619�IntTestCases.test_issue31619se������\�^_�`�:�	<�����4�a�8�-�H�����0�"�5�{�C�����_�b�1�:�>rc���]OP2[]2[]P21FD4oUOU]2UO[	U2[
2J6	P!�r)�	__round__�roundr~r�r�r)r��vals& r�$test_round_with_none_arg_direct_call�1IntTestCases.test_round_with_none_arg_direct_call	sN���M�M�$�'��!�H��!�T�N�$�C�
���S�!�$��M�M�$�s�)�S�)�	$rr
)rr
rrr�r�r�r�r�cpython_onlyr�r�r�r�r�r�rrr	r6rJrYrwr�r�r�rr�r�s@rrr-s�����x9�t
�E�3�&
���&��&�#�2�5�"�F�"!(�F<�2�!�@
-�2�"&$�P�B?�
���*��*rrc�``�\sQsQsn\sU1QksU1QksQsQs	QQks
QsQsQ	s
Q
sQsQsQ
sQsQsQsUsU9s!)�IntStrDigitLimitsTests�c�:�[RU_2[O2Um[O
Q2P!)i��super�setUpr��get_int_max_str_digits�_previous_limit�set_int_max_str_digits�r��	__class__s&�rr��IntStrDigitLimitsTests.setUps+���
��
��"�9�9�;����"�"�4�(rc�f:�[OUO2[RU_2P!r��r�r�r�r��tearDownr�s&�rr��IntStrDigitLimitsTests.tearDown�"����"�"�4�#7�#7�8�
���rc���UO[O2]2UO[O2Q2[O
]29^tt^2UO
[O2]2UOQQ*2o[U2PPP2UO[O2]2P!)%fhK79h)r� N�1)	�
assertGreaterr�r��
assertLessr�adjust_int_max_str_digitsr~�	int_classr�)r��is& r�test_disabled_limit�*IntStrDigitLimitsTests.test_disabled_limits������3�5�5�7��;�����2�2�4�f�=�
�
.�
.�q�
1�
1����S�7�7�9�1�=����s�V�|�,�A���F�2�	
���3�5�5�7��;�	2�
1�s�*A	C"�"C2	�+C2	c	�|�UOo[O2oUQU*2UQQU**2UQU*Q*2UQQU**2UQQU**2UO[	[]
U]*
*22U2P!)z&Ignore the +/- sign and space padding.r�rr{r)r�r�r�r~�lenr�)r�r��	maxdigitss&  r�test_max_str_digits_edge_cases�5IntStrDigitLimitsTests.test_max_str_digits_edge_cases's����N�N�	��.�.�0�	��#�	�/�"��#��i��'�(��#�	�/�C�'�(��#��i��'�(��#��i��'�(�����S��	�A�
�!6�7�8�)�Drc���UO[29^tt^2UeUOU2LUOV2PPP2P!)%fhP!9hr�)r�r�r�)r�r�r�s&&&rr�IntStrDigitLimitsTests.check3s?��
�
�
�z�
*�
*��|����q�!����q�'�	+�
*�
*�
*�s�A�#A�A"	�A"	c�z�[O2oUOQU]**2UOQQU]***2UOQU]**Q*2UOQQU]***2UOQQU]***2UOQU]**2]
U*oUO[29^tt^2[U2PPP2P!)%fhP!9h)r�rr{r)r�r�rr�r�r�)r�r�r�s&  r�test_max_str_digits�*IntStrDigitLimitsTests.test_max_str_digits:s����.�.�0�	��
�
�3�)�a�-�(�)��
�
�3��	�A�
�.�.�/��
�
�3�)�a�-�(�3�.�/��
�
�3��	�A�
�.�.�/��
�
�3��	�A�
�.�.�/��
�
�3�)�a�-�(�)��)�O��
�
�
�z�
*�
*���F�+�
*�
*�
*�s�D)�)D:	�2D:	c�Z�[O2oUQ6fPU2g[QQQ*0]Q5oQo[OU29^tt^2[O
29^tt^2o[
U2oPPP2PPP2UO[W2U2WOUOO]*6c%[OQUOQ02g[O[Q	U*229^tt^2UO[29^tt^2o[O
29^tt^2o[
U2PPP2PPP2PPP2UO!Q
[
WO"22UO%WOUO]*2[QQQ*0]Q5oUO[29^tt^2o[O
29^tt^2o	[
U2PPP2PPP2UO!Q
[
UO"22UO'W	OUO]*2P!)%fhCK&9h)%fhCK29h)%fhCK]9h)%fhCKi9h)%fhCKu9h)%fhK�9h)%fhK�9h)�?Regression test: ensure we fail before performing O(N**2) work.iP�r�ci�r�i�1�"slow" conversion took only �	 seconds.gףp=
��?�
conversioni �)r�r�rrr��	Stopwatchr�r~r��seconds�
clock_info�
resolution�unittest�SkipTestr�r��assertInr|�assertLessEqualr�)
r�r��huge_int�digits�
sw_convert�huge_decimal�err�sw_fail_huge�extra_huge_int�sw_fail_extra_huges
&         r�+test_denial_of_service_prevented_int_to_str�BIntStrDigitLimitsTests.test_denial_of_service_prevented_int_to_strHsA���.�.�0�	��6�!�,�9�,�!���C��J�<�(�r�2�����1�1�&�9�9��!�!�#�#�z��x�=�L�$�:�	
����\�*�F�3����
� 5� 5� @� @�1� D�D��#�#�$B�'1�'9�'9�&:�)�%E�F�
F�
�
.�
.�s�4�&�=�/A�
B�
B��%�%�j�1�1�S��%�%�'�'�<��H�
�(�2�C�
	
�
�
�l�C��
�
�$6�7����\�1�1�:�3E�3E�a�3G�H��r�#�g�+��/�b�9���!�!�*�-�-���!�!�#�#�'9����$�.�	
�
�
�l�C��
�
�$6�7����*�2�2�J�4F�4F�q�4H�I�;$�#�#��:�9�9�� (�'�'��2�1�1��C�
B�
B��$�#��.�-�s��J7�:J#	�J7�/K3�
K	�+K
�7K	�?K3�L�3L	�?L�#J4
�,J4
�.	J7�7K	�K	�K�K�	K	�K0
�(K0
�*	K3�3L	�<L	�L
�L
�L�L*	�#L*	c���[O2oUQ6fPU2gQoQU*o[OU29^tt^2[O29^tt^2o[U2PPP2PPP2WOUOO]*6c%[OQUOQ02g[OU]*
29^tt^2UO[29^tt^2o[O29^tt^2o[U2PPP2PPP2PPP2UOQ[WO22UO!WOUO]*2QQ*oUO[29^tt^2o[O29^tt^2o[U2PPP2PPP2UOQ[UO22UO!WOUO]*2P!)%fhCK�9h)%fhCK9h)%fhCKO9h)%fhCK[9h)%fhCKg9h)%fhK�9h)%fhK�9h)	r�順iD
�8r�r�r��7i�O)r�r�rr�r�rr�r�r�r�r�r�r�r�r�r|r�)	r�r�r��huger�r�r��
extra_huger�s	&        r�+test_denial_of_service_prevented_str_to_int�BIntStrDigitLimitsTests.test_denial_of_service_prevented_str_to_intps���.�.�0�	��7�"�-�I�-�"����6�z���1�1�&�9�9��!�!�#�#�z���I�$�:����
� 5� 5� @� @�1� D�D��#�#�$B�'1�'9�'9�&:�)�%E�F�
F��
.�
.�v��z�
:�
:��%�%�j�1�1�S��%�%�'�'�<��D�	�(�2�;�
	
�
�
�l�C��
�
�$6�7����\�1�1�:�3E�3E�a�3G�H���]�
��!�!�*�-�-���!�!�#�#�'9��
�O�$�.�	
�
�
�l�C��
�
�$6�7����/�7�7��9K�9K�A�9M�N�5$�#�#��:�9�9��(�'�'��2�1�1��;�
:�
:��$�#��.�-�s��I7�,I#	�8I7�=J3�J	�9J
�J	�
J3�K�3K	�?K�#I4
�,I4
�.	I7�7J	�J	�J�J�	J	�J0
�(J0
�*	J3�3K	�<K	�K
�K
�K�K*	�#K*	c	�8�[O2oQFDhoUOUQ59^tt^2UOQU]**U2UQ6fPgUOQQ*U2PPP2Jj	P!)%fhJ9h)z-The limit does not apply to power of 2 bases.r�r�r�)����� )r�r�r�r�)r�r�r�s&  r�!test_power_of_two_bases_unlimited�8IntStrDigitLimitsTests.test_power_of_two_bases_unlimited�st���.�.�0�	�%�D����4��(�(����s�i�!�m�4�d�;� �7�*�*�*����s�W�}�d�3�)�(�&�(�(�(�s�'B	�B	�B
�B
c��[O2oU]*oQU*oQU*oUOU2UOU2UOUQ02UOUQ02P!)r�111�1_11�_111)r�r�r�r)r�r��triplesr��s_s&    r�test_underscores_ignored�/IntStrDigitLimitsTests.test_underscores_ignored�sh���.�.�0�	��q�.���G�O��
�g�
�����q�����r���
�
�a�S��9���
�
�b�T��;�rc���UOo[O2oQU*oUU2oUQU02oVE6XfPgUQU02oU'U6XfPg[U2[U2P!)�5r{r)r�r�r�r�)r�r��
max_digitsr�r��pos_i�neg_is&      r�test_sign_not_counted�,IntStrDigitLimitsTests.test_sign_not_counted�sr���N�N�	��/�/�1�
��*����a�L���A�a�S�'�"���z��z��A�a�S�'�"���v������E�
��E�
rc��UOo[O2oQU*oUVA2oU]
6�c3UO[29^tt^2[U2PPP2LU]
6c[U2UO[29^tt^2oUUQ0U2PPP2P!)%fhKD9h)%fhP!9h)�2r�)r�r�r�r�r�r�)r�r�r�r�r�r�r�s&&     r�_other_base_helper�)IntStrDigitLimitsTests._other_base_helper�s����N�N�	��/�/�1�
��*����a����"�9��"�"�:�.�.��A��/�.�
�B�Y���F�
�
�
�z�
*�
*�c����1�g�t�$�+�
*�	/�.��+�
*�
*�s$�B3�
C�3C	�<C	�C	�C	c�.�]oUOUQ59^tt^2UOU2PPP2]$oUOUQ59^tt^2UOU2PPP2P!)%fhKH9h)%fhP!9h)rr�)r�r�r�s& r�test_int_from_other_bases�0IntStrDigitLimitsTests.test_int_from_other_bases�sl����
�\�\�t�\�
$�
$��#�#�D�)�%���
�\�\�t�\�
$�
$��#�#�D�)�%�
$�%�
$��%�
$�
$�s#�A0�B�0B	�9B	�B	�B	c�F�Qo[OQ29^tt^2[O2oUO	[O
U2]Q2[O2oUO	V#2PPP2P!)%fhP!9h)a8if 1:
        # Subinterpreters maintain and enforce their own limit
        import sys
        sys.set_int_max_str_digits(2323)
        try:
            int('3'*3333)
        except ValueError:
            pass
        else:
            raise AssertionError('Expected a int max str digits ValueError.')
        i�z%subinterp code failure, check stderr.)rr�r�r�r~�run_in_subinterp)r��code�before_value�after_values&   r�*test_int_max_str_digits_is_per_interpreter�AIntStrDigitLimitsTests.test_int_max_str_digits_is_per_interpreter�sv��
���
.�
.�t�
4�
4��5�5�7�L����W�5�5�d�;�Q�D�
F��4�4�6�K����\�7�5�
4�
4�
4�s�A#B�B 	�B 	�r�r�)rr
rrrr�r�r�r�r�rr�r�r�r�r�r�r�r�r�rr��
__classcell__�r�r�s@@rr�r�sZ�����I�)�
�<�
E�(��&J�P#O�J4�	 �
�%�*�8�8rr�c��\sQsQs\sQsP!)�IntSubclassStrDigitLimitsTests��r
)rr
rrr	r�rr
rrrr�s���Irrc�n``�\sQsQsnU1QksU1QksQsQs\OQ2Q2s
Qs\O\
O\Q	2Q
22sQs\O\
O\Q	2\O&O)\Q2Q
222s\O\
O\Q	2\O&O)\Q2Q222sQs\OQ2\
O\Q2Q22s\OQ2\
O\Q	2\
O\Q2Q222s\
O\Q2\
O\Q2Q22s\
O\Q	2Q2sQsUsU9s!)�PyLongModuleTests��c�:�[RU_2[O2Um[O
]2P!r�r�r�s&�rr��PyLongModuleTests.setUp�s+���
��
��"�9�9�;����"�"�1�%rc�f:�[OUO2[RU_2P!r�r�r�s&�rr��PyLongModuleTests.tearDown�r�rc��[U2oUOUQPU2[U'2oUOUQU*2QU*oUOVS2QU*oUOVcOQ22P!)�
rz%ds%d�asciii����)r�r~�encode)r�rv�suffixr��s2�s3�s4s&&&    r�_test_pylong_int_to_decimal�-PyLongModuleTests._test_pylong_int_to_decimal�sw����F������3�4��&�)�
�!��W������S�1�W�%�
�A�X�������
�Q�Y������X�X�g�.�/rc��UO]Q*Q2UO]Q*]*
Q2UO]
Q*Q2UO]
Q*]*
Q2UO]Q*Q2P!)	rr��
9883109376�
9883109375i0u�
0000000000�
9999999999i`��
9313200001�rr�s&r�test_pylong_int_to_decimal�,PyLongModuleTests.test_pylong_int_to_decimal�so���(�(�!�w�,��F��(�(�!�w�,�!�);�\�J��(�(��V��\�B��(�(��V��a���F��(�(��F��L�Ar�cpuc��UO]Q*Q2UO]
Q*Q2UO]Q*Q2P!)r��@B�
2747109376i�ri�'	�
3132000001rr�s&r�test_pylong_int_to_decimal_2�.PyLongModuleTests.test_pylong_int_to_decimal_2s>���(�(��I��|�D��(�(��W��l�C��(�(��G��\�Brc�r�]Q*o[U]*]*U2vq#U]6XcU]6XfPgP!)rr�)�divmod)r�rv�ar�s&   r�test_pylong_int_divmod�(PyLongModuleTests.test_pylong_int_divmods6��
�'�\���a��c�A�g�q�!����A�v�!�q�&� � �&rz_pylong module requiredc	��QoQo]]U**]U*qC[OO[QUQ59^tt^2QoUO	[
U[V42PPP2P!)%fhP!9h)c��Q!)rr�r
)r'r�s&&rr��@PyLongModuleTests.test_pylong_int_divmod_crash.<locals>.<lambda>s��dri'�
int_divmod)�wrapsz1tuple of length 2 is required from int_divmod\(\))r�patchr��_pylongr�r�r&)r��bad_int_divmod�kr'r�rs&     r�test_pylong_int_divmod_crash�.PyLongModuleTests.test_pylong_int_divmod_crash
sf��+�����a�!�e���Q��1�
�Z�Z�
�
�w��N�
�
K�
K�F�C��"�"�:�s�F�A�A�L�
K�
K�
K�s�
A6�6B	�?B	c��]Q*o[U2o[U2oV6XfPg[QU*2oU'U6XfPg[QU*Q*2oV6XfPgUO[29^tt^2o[UQ*2PPP2UO[29^tt^2o[UQ*2PPP2UO[29^tt^2o[QU*2PPP2P!)%fhK�9h)%fhK]9h)%fhP!9h)rr�z -z +r�zr�)r�rr�r�)r��v1r��v2�v3�v4r�s&      r�test_pylong_str_to_int�(PyLongModuleTests.test_pylong_str_to_ints���
�'�\����G��
��V���x��x�
����]���s�b�y��y�
����C��
 ���x��x�
�
�
�z�
*�
*�c���C��L�+�
�
�
�z�
*�
*�c���C��L�+�
�
�
�z�
*�
*�c���a��L�+�
*�	+�
*��
*�
*��
*�
*�
*�s6�D�;D#�3D6�D 	�D 	�#D3	�,D3	�6E	�?E	�int_to_decimal_stringc	�*�[OQ29^tt^2[QQ*2oPUmUO	[
29^tt^2o[
U2PPP2UOQ[
WO22[Q2Um
UO	[29^tt^2[
U2PPP2PPP2P!)%fhK�9h)%fhK-9h)%fhP!9h)r�r��Nz%_pylong.int_to_decimal_string did not�testABC)rr�r�return_valuer�r�r�r�r|�RuntimeError�side_effect)r��mock_int_to_str�	big_value�ctxs&&  r�)test_pylong_misbehavior_error_path_to_str�;PyLongModuleTests.test_pylong_misbehavior_error_path_to_str)s���
�
.�
.�v�
6�
6��C��J��I�+/�O�(��"�"�9�-�-���I��.��M�M�A��c�m�m�,�
.�*6�y�*A�O�'��"�"�<�0�0��I��1�7�
6�.�-��
1�0��7�
6�
6�sN�7D�C	�#AD�=C.	�	D�C+
�$C+
�&D�.C>
�7C>
�9D�D	�
D	�int_from_stringc	��QQ*o[OQ29^tt^2QUmUO[29^tt^2o[U2PPP2UO
Q[WO22[Q2Um
UO[29^tt^2[U2PPP2PPP2P!)%fhK�9h)%fhK-9h)%fhP!9h)r�r?r�s
not an intz_pylong.int_from_string did not�test123)rr�rAr�r�rr�r�r|rBrC)r��mock_int_from_strrErFs&&  r�+test_pylong_misbehavior_error_path_from_str�=PyLongModuleTests.test_pylong_misbehavior_error_path_from_str9s���
��J�	�
�
.�
.�v�
6�
6�-:��*��"�"�9�-�-���I��.��M�M�;��c�m�m�,�
.�-9��,C��)��"�"�<�0�0��I��1�7�
6�-�-��1�0��7�
6�
6�sN�%C8�C	�AC8�4C%	�C8�C"
�C"
�C8�%C5
�.C5
�0C8�8D		�D		c�F�]QHGoGoQoUQ6:c�V1Q]e2*
o]U]*
*oVBU]*
2*oUO2U6XfPg[	U2oUOUQ2UO
U[U22U]*oJ�P!)r)�	randrange�getrandbitsi�r r�i����)�randomrPrQ�
bit_lengthr��assertNotStartsWithr~r)r�rPrQ�bits�hibitrv�sns&      r�test_pylong_roundtrip�'PyLongModuleTests.test_pylong_roundtripJs���1����i���I�d�C�(�(�D��$��(�O�E���D�1�H�-�-�A��<�<�>�T�)�)�)��Q��B��$�$�R��-����Q��B��(��Q�J�D� rzC _decimal module requiredc���QoQoQV!*]*
U]*
**oQU*oUOU[U22UOU[U22P!)r r��
1234567890ld(	)r~rr�)r�r2�tentotenrvrWs&    r�test_pylong_roundtrip_huge�,PyLongModuleTests.test_pylong_roundtrip_hugeWsY��
�����8�;��?��1��=�>��
�A�
������C��G�$�����S��V�$rc�T�QQ*o]
[U2*]*
o[OO2o[OO	2UOU[OU]Q52UOQ[O2[OO	2[OOU2P![OO	2[OOS2h9h)�9i�)�GUARD��)	r�r0�_spread�copy�clearr~�_dec_str_to_int_innerr��update)r�rWrv�orig_spreads&   r�+test_whitebox_dec_str_to_int_inner_failsafe�=PyLongModuleTests.test_whitebox_dec_str_to_int_inner_failsafebs����7�]����B��K�!�O���o�o�*�*�,��������	0����Q�� =� =�b�� J�K��M�M�#�w���/��O�O�!�!�#��O�O�"�"�;�/��
�O�O�!�!�#��O�O�"�"�;�/�s
�!AC(�(?D'zpylong module requiredc��QQ[2oUQ2oUO[QUO2Q0[O
U2P!)c�(`�\sQsQsnQsQsUsP!)�NPyLongModuleTests.test_whitebox_dec_str_to_int_inner_monster.<locals>.LyingStr�}c�D�[Q[O*2!)rl)rr0�_LOG_10_BASE_256r�s&r�__len__�VPyLongModuleTests.test_whitebox_dec_str_to_int_inner_monster.<locals>.LyingStr.__len__~s���G�w�'?�'?�?�@�@rr
)rr
rrrqrr�r�s@r�LyingStrrm}s����
A�
Arrs�42z^cannot convert string of len z to int$)r�r�r�rqr0rf)r�rs�liars&  r�*test_whitebox_dec_str_to_int_inner_monster�<PyLongModuleTests.test_whitebox_dec_str_to_int_inner_monsterwsL��	A�s�	A���~��	
���z�,�T�\�\�^�,<�H�E��)�)��	rc�`�U1QkoQFD4oQFD*oQFD o[]�Q2FDoUVRVC2J	J"	J,	J6	P!)c�6:`````	�[2n	[2nUUUUU	1QknRU2[OVRRQ5oR
OUO	2R2UO2FDvqVR
OVaU*2J	P!)c��:�UR6:fUR7cP!ROU2U]*	oV*
oROR%cSLS2RU2RU2P!r�)�add)�w�lo�hi�inner�limit�need�need_hi�seens&  �����rr�MPyLongModuleTests.test_pylong_compute_powers.<locals>.consumer.<locals>.inner�sL�����:��d���������!�V���V�����w��B�/��b�	��b�	r)r�)�setr0�compute_powersr~�keys�items)r|r�r�r��dr2r�rr�r�r�s&&ff   @@@�r�consumer�>PyLongModuleTests.test_pylong_compute_powers.<locals>.consumer�sr����5�D��5�D�
�
�
�!�H��&�&�q��w�G�A����Q�V�V�X�t�,����	���� � ��A�I�.�"r�&)r��)FT)r�)r�)r�r�r�r�r�r|sf     r�test_pylong_compute_powers�,PyLongModuleTests.test_pylong_compute_powers�sB���	/�$�D�&��"�E�"�3��_�� ��%�9�-�#�'�rr�) rr
rrr�r�rrr�requires_resourcer#r(r�r��
skipUnlessr0r3r;rr/r�rGrMrX�_decimalr]rirvr�rr�r�rs@@rrr�s�����&�
�0�B�
���u�%�C�&�C�
!�

���
����";�<�B�=��B�� 
���
����";�<�	�Z�Z���w� 7�8��9�=���
���
����";�<�	�Z�Z���w� 1�2��3�=����
���u�%�
����#?�@�%�A�&�%�
���u�%�
����";�<�
����#?�@�0�A�=�&�0�$����":�;�
����#?�@��A�<��*����";�<�:�=�:�:rr�__main__)r�r)r�r)r`�	)rr)�99�c)r��d)�314r)z 314r)z314 r)z  		  314  		  r)z  1  r)r�r�r�testr�test.support.numbersrrr0r�r�r�r�r�r�rr	�TestCaserr�rrr�mainr
rr�<module>r�s1��
�����
����
	���������$�	
�c�k�k�	�C�K�K�(�	����	�Z� �	�Z��	�j��	�Z� �	�:��%��*	�#�	�b*�8�$�$�b*�HL8�X�.�.�L8�^�%;��C:��)�)�C:�J�z���M�M�O���y���G���
���H��s.�C�C$�C!�C!� C!�$C0�*C0�/C0

Youez - 2016 - github.com/yon3zu
LinuXploit