add-determinism 0.7.3

RPM buildroot helper to strip nondeterministic bits in files
Documentation
3

�
�^�c@sDddlZddlZddlmZddlmZdd�Zdd�Zd	d
�ZdS)�N�)�base_futures)�
coroutinescCsTtj|�}|jrd|d<tj|j�}|jdd|�|jdk	rP|jdd|j�|S)NZ
cancellingrrz	coro=<%s>izwait_for=%r)rZ_future_repr_infoZ_must_cancelrZ_format_coroutine�_coroZinsertZ_fut_waiter)�taskZinfoZcoro�r�*/usr/lib64/python3.6/asyncio/base_tasks.py�_task_repr_infos

rcCs�g}y|jj}Wntk
r,|jj}YnX|dk	rxx6|dk	rl|dk	rZ|dkrRP|d8}|j|�|j}q8W|j�nL|jdk	r�|jj}x8|dk	r�|dk	r�|dkr�P|d8}|j|j	�|j
}q�W|S)Nrr)rZcr_frameZAttributeErrorZgi_frame�appendZf_backZreverse�
_exceptionZ
__traceback__Ztb_frameZtb_next)r�limitZframes�fZtbrrr�_task_get_stacks0






r
cCs�g}t�}xj|j|d�D]Z}|j}|j}|j}|j}	||krP|j|�tj|�tj	|||j
�}
|j|||	|
f�qW|j}|s�t
d||d�n*|dk	r�t
d||d�nt
d||d�tj||d�|dk	r�x$tj|j|�D]}
t
|
|dd�q�WdS)N)rzNo stack for %r)�filez)Traceback for %r (most recent call last):z%Stack for %r (most recent call last):�)rZend)ZsetZ	get_stackZf_linenoZf_codeZco_filenameZco_nameZadd�	linecacheZ
checkcacheZgetlineZ	f_globalsr	r
Zprint�	tracebackZ
print_listZformat_exception_onlyZ	__class__)rrrZextracted_listZcheckedrZlinenoZcoZfilenameZnameZlineZexcrrr�_task_print_stack3s0


r)rrrrrrr
rrrrrZ<module>s