add-determinism 0.7.3

RPM buildroot helper to strip nondeterministic bits in files
Documentation
U

�AT^�c@sdddddddddd	d
ddd
ddgZddlZddlZddlZddlZddlmZddlmZmZm	Z	m
Z
ddlmZmZm
Z
ddlmZGdd�dej�ZeZejZe��e�_dd�Zdd�ZGdd�de�ZeZeZd'dd�ZGd d!�d!e�Zd"d�Zd#d$�Z d(d&d�Z!eZ"dS))�Process�current_process�active_children�freeze_support�Lock�RLock�	Semaphore�BoundedSemaphore�	Condition�Event�Barrier�Queue�Manager�Pipe�Pool�
JoinableQueue�Ni)r
)rrrr)r	rr
)rc@s4eZdZddddifdd�Zdd�Zedd��ZdS)	�DummyProcessN�cCs8tj�||||||�d|_t��|_d|_t�|_	dS)NF)
�	threading�Thread�__init__Z_pid�weakref�WeakKeyDictionary�	_children�
_start_calledr�_parent)�selfZgroupZtarget�nameZargsZkwargsrr�6/usr/lib64/python3.8/multiprocessing/dummy/__init__.pyr$s

zDummyProcess.__init__cCsN|jt�k	r td�|jt����d|_t|jd�r>d|jj|<tj�	|�dS)Nz,Parent is {0!r} but current_process is {1!r}Tr)
rrZRuntimeErrorZformatrZhasattrrrr�start�rrrrr+s��zDummyProcess.startcCs|jr|��sdSdSdS)Nr)r�is_aliverrrr�exitcode5szDummyProcess.exitcode)�__name__�
__module__�__qualname__rr�propertyr!rrrrr"s
rcCs2t�j}t|�D]}|��s|�|d�qt|�S�N)rr�listr Zpop)ZchildrenZprrrrDs
cC�dSr&rrrrrrK�c@seZdZdd�Zdd�ZdS)�	NamespacecKs|j�|�dSr&)�__dict__Zupdate)rZkwdsrrrrSr)zNamespace.__init__cCsZt|j���}g}|D]$\}}|�d�s|�d||f�q|��d|jjd�|�fS)NZ_z%s=%rz%s(%s)z, )	r'r+�itemsZ
startswithZappendZsortZ	__class__r"Zjoin)rr,Ztempr�valuerrr�__repr__Us
zNamespace.__repr__N)r"r#r$rr.rrrrr*Rsr*TcCst�||�Sr&)�array)�typecodeZsequence�lockrrr�Arrayar)r2c@s8eZdZd
dd�Zedd��Zejdd��Zdd�Zd	S)�ValueTcCs||_||_dSr&)�	_typecode�_value)rr0r-r1rrrreszValue.__init__cCs|jSr&�r5rrrrr-i�zValue.valuecCs
||_dSr&r6)rr-rrrr-mr7cCsdt|�j|j|jfS)Nz<%s(%r, %r)>)Ztyper"r4r5rrrrr.qr)zValue.__repr__N�T)r"r#r$rr%r-Zsetterr.rrrrr3ds


r3cCs
tjtSr&)�sysZmodulesr"rrrrrtr)cCr(r&rrrrr�shutdownwr)r:rcCsddlm}||||�S)Ni)�
ThreadPool)Zpoolr;)Z	processesZinitializerZinitargsr;rrrrzsr8)NNr)#Z__all__rr9rr/Z
connectionr
rrrrr	rr
ZqueuerrrrZcurrent_threadrrrrrZobjectr*Zdictr'r2r3rr:rrrrrrZ<module>sN�