add-determinism 0.7.3

RPM buildroot helper to strip nondeterministic bits in files
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
B

�/g^�c@sBdZddlmZddlmZddlmZdd�dd�Zd	d
�ZdS))�runi)�
coroutines)�events)�tasksF)�debugcCs�t��dk	rtd��t�|�s,td�|���t��}zt�|�|�	|�|�
|�Szt|�|�
|���Wdt�d�|�
�XXdS)Nz8asyncio.run() cannot be called from a running event loopz"a coroutine was expected, got {!r})rZ_get_running_loopZRuntimeErrorrZiscoroutineZ
ValueErrorZformatZnew_event_loopZset_event_loopZ	set_debug�run_until_complete�_cancel_all_tasksZshutdown_asyncgensZclose)Zmainr�loop�r�'/usr/lib64/python3.7/asyncio/runners.pyrs




rcCs~t�|�}|sdSx|D]}|��qW|�tj||dd���x8|D]0}|��rTqF|��dk	rF|�d|��|d��qFWdS)NT)rZreturn_exceptionsz1unhandled exception during asyncio.run() shutdown)Zmessage�	exception�task)rZ	all_tasksZcancelrZgatherZ	cancelledr
Zcall_exception_handler)rZ	to_cancelrrrr	r5s


rN)Z__all__Zrrrrrrrrr	Z<module>s
-