Hacked By AnonymousFox

Current Path : /opt/alt/python27/lib64/python2.7/unittest/
Upload File :
Current File : //opt/alt/python27/lib64/python2.7/unittest/signals.pyo

�
^
bc@s�ddlZddlZddlmZeZdefd��YZej�Z	d�Z
d�Zda
d�Zdd�ZdS(	i����N(twrapst_InterruptHandlercBseZd�Zd�ZRS(cCsyt|_||_t|ttf�rl|tjkrBtj}ql|tj	kr]d�}qlt
d��n||_dS(NcSsdS(N((t
unused_signumtunused_frame((s5/opt/alt/python27/lib64/python2.7/unittest/signals.pytdefault_handlerssYexpected SIGINT signal handler to be signal.SIG_IGN, signal.SIG_DFL, or a callable object(tFalsetcalledtoriginal_handlert
isinstancetinttlongtsignaltSIG_DFLtdefault_int_handlertSIG_IGNt	TypeErrorR(tselfR((s5/opt/alt/python27/lib64/python2.7/unittest/signals.pyt__init__
s		cCs{tjtj�}||k	r1|j||�n|jrM|j||�nt|_xtj�D]}|j�qcWdS(N(	Rt	getsignaltSIGINTRRtTruet_resultstkeyststop(Rtsignumtframetinstalled_handlertresult((s5/opt/alt/python27/lib64/python2.7/unittest/signals.pyt__call__s		(t__name__t
__module__RR(((s5/opt/alt/python27/lib64/python2.7/unittest/signals.pyR	s	cCsdt|<dS(Ni(R(R((s5/opt/alt/python27/lib64/python2.7/unittest/signals.pytregisterResult*scCsttj|d��S(N(tboolRtpoptNone(R((s5/opt/alt/python27/lib64/python2.7/unittest/signals.pytremoveResult-scCsDtdkr@tjtj�}t|�atjtjt�ndS(N(t_interrupt_handlerR"RRRR(R((s5/opt/alt/python27/lib64/python2.7/unittest/signals.pytinstallHandler1scsT�dk	r+t���fd��}|Stdk	rPtjtjtj�ndS(NcsEtjtj�}t�z�||�SWdtjtj|�XdS(N(RRRt
removeHandler(targstkwargstinitial(tmethod(s5/opt/alt/python27/lib64/python2.7/unittest/signals.pytinner;s
(R"RR$RRR(R*R+((R*s5/opt/alt/python27/lib64/python2.7/unittest/signals.pyR&9s
(Rtweakreft	functoolsRRt
__unittesttobjectRtWeakKeyDictionaryRRR#R"R$R%R&(((s5/opt/alt/python27/lib64/python2.7/unittest/signals.pyt<module>s 			

Hacked By AnonymousFox1.0, Coded By AnonymousFox