ok

Mini Shell

Direktori : /proc/self/root/opt/alt/python33/lib64/python3.3/unittest/__pycache__/
Upload File :
Current File : //proc/self/root/opt/alt/python33/lib64/python3.3/unittest/__pycache__/signals.cpython-33.pyo

�
ryMac	c@s�ddlZddlZddlmZd
ZGdd�de�Zej�Z	dd�Z
dd�Zda
d	d
�Zddd�ZdS(iN(uwrapscBs,|EeZdZdd�Zdd�ZdS(u_InterruptHandlercCsvd|_||_t|t�ri|tjkr<tj}qi|tjkrZdd�}qit	d��n||_
dS(NcSsdS(N((u
unused_signumuunused_frame((u5/opt/alt/python33/lib64/python3.3/unittest/signals.pyudefault_handlersu3_InterruptHandler.__init__.<locals>.default_handleruYexpected SIGINT signal handler to be signal.SIG_IGN, signal.SIG_DFL, or a callable objectF(uFalseucalleduoriginal_handleru
isinstanceuintusignaluSIG_DFLudefault_int_handleruSIG_IGNu	TypeErrorudefault_handler(uselfudefault_handler((u5/opt/alt/python33/lib64/python3.3/unittest/signals.pyu__init__
s		u_InterruptHandler.__init__cCs{tjtj�}||k	r1|j||�n|jrM|j||�nd|_xtj�D]}|j�qcWdS(NT(	usignalu	getsignaluSIGINTudefault_handlerucalleduTrueu_resultsukeysustop(uselfusignumuframeuinstalled_handleruresult((u5/opt/alt/python33/lib64/python3.3/unittest/signals.pyu__call__s		u_InterruptHandler.__call__N(u__name__u
__module__u__qualname__u__init__u__call__(u
__locals__((u5/opt/alt/python33/lib64/python3.3/unittest/signals.pyu_InterruptHandler	su_InterruptHandlercCsdt|<dS(Ni(u_results(uresult((u5/opt/alt/python33/lib64/python3.3/unittest/signals.pyuregisterResult*suregisterResultcCsttj|d��S(N(uboolu_resultsupopuNone(uresult((u5/opt/alt/python33/lib64/python3.3/unittest/signals.pyuremoveResult-suremoveResultcCsDtdkr@tjtj�}t|�atjtjt�ndS(N(u_interrupt_handleruNoneusignalu	getsignaluSIGINTu_InterruptHandler(udefault_handler((u5/opt/alt/python33/lib64/python3.3/unittest/signals.pyuinstallHandler1suinstallHandlercsW�dk	r.t���fdd��}|Stdk	rStjtjtj�ndS(NcsEtjtj�}t�z�||�SWdtjtj|�XdS(N(usignalu	getsignaluSIGINTu
removeHandler(uargsukwargsuinitial(umethod(u5/opt/alt/python33/lib64/python3.3/unittest/signals.pyuinner;s
uremoveHandler.<locals>.inner(uNoneuwrapsu_interrupt_handlerusignaluSIGINTuoriginal_handler(umethoduinner((umethodu5/opt/alt/python33/lib64/python3.3/unittest/signals.pyu
removeHandler9s
u
removeHandlerT(usignaluweakrefu	functoolsuwrapsuTrueu
__unittestuobjectu_InterruptHandleruWeakKeyDictionaryu_resultsuregisterResulturemoveResultuNoneu_interrupt_handleruinstallHandleru
removeHandler(((u5/opt/alt/python33/lib64/python3.3/unittest/signals.pyu<module>s 

Zerion Mini Shell 1.0