HEX
Server: LiteSpeed
System: Linux kapuas.iixcp.rumahweb.net 5.14.0-427.42.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Nov 1 14:58:02 EDT 2024 x86_64
User: mirz4654 (1666)
PHP: 8.1.33
Disabled: system,exec,escapeshellarg,escapeshellcmd,passthru,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,popen,pclose,dl,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setsid,posix_setuid,posix_setpgid,ini_alter,show_source,define_syslog_variables,symlink,syslog,openlog,openlog,closelog,ocinumcols,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dll,ftp,myshellexec,socket_bind,mail,posix_getwpuid
Upload Files
File: //lib64/python3.9/site-packages/setools/diff/__pycache__/conditional.cpython-39.pyc
a

q�qe��@srUddlmZddlmZddlmZddlmZee�Z	eedfe
d<edd	�d
d�ZGdd�dee�Zd
S)�)�defaultdict�)�Conditional�)�Wrapper)�Cache�ConditionalWrapper�_cond_cache��cond�returncCsBzt|j|WSty<t|�}|t|j|<|YS0dS)z�
    Wrap type attributes from the specified policy.

    This caches results to prevent duplicate wrapper
    objects in memory.
    N)r	Zpolicy�KeyErrorr)r�a�r�>/usr/lib64/python3.9/site-packages/setools/diff/conditional.py�conditional_wrapper_factorysrc@s<eZdZdZdZedd�dd�Zdd�Zd	d
�Zdd�Z	dS)
rzHWrap conditional policy expressions to allow comparisons by truth table.�truth_tableNr
cCs||_|��|_dS�N)�originr)�selfrrrr�__init__&szConditionalWrapper.__init__cCs
t|j�Sr)�hashr)rrrr�__hash__*szConditionalWrapper.__hash__cCs|j|jkSr)r�r�otherrrr�__eq__-szConditionalWrapper.__eq__cCst|j�t|�kSr)�strrrrrr�__lt__0szConditionalWrapper.__lt__)
�__name__�
__module__�__qualname__�__doc__�	__slots__rrrrrrrrrr sN)
�collectionsrZ	policyrepr�
differencer�typingr�dictr	�__annotations__rrrrrr�<module>s