AlkantarClanX12
Current Path : /proc/thread-self/root/lib64/python2.7/unittest/ |
Current File : //proc/thread-self/root/lib64/python2.7/unittest/signals.pyo |
� {fc @ s� d d l Z d d l Z d d l m Z e Z d e f d � � YZ e j � Z d � Z d � Z d a d � Z d d � Z d S( i����N( t wrapst _InterruptHandlerc B s e Z d � Z d � Z RS( c C sy t | _ | | _ t | t t f � rl | t j k rB t j } ql | t j k r] d � } ql t d � � n | | _ d S( Nc S s d S( N( ( t unused_signumt unused_frame( ( s( /usr/lib64/python2.7/unittest/signals.pyt default_handler s sY expected SIGINT signal handler to be signal.SIG_IGN, signal.SIG_DFL, or a callable object( t Falset calledt original_handlert isinstancet intt longt signalt SIG_DFLt default_int_handlert SIG_IGNt TypeErrorR ( t selfR ( ( s( /usr/lib64/python2.7/unittest/signals.pyt __init__ s c C s{ t j t j � } | | k r1 | j | | � n | j rM | j | | � n t | _ x t j � D] } | j � qc Wd S( N( R t getsignalt SIGINTR R t Truet _resultst keyst stop( R t signumt framet installed_handlert result( ( s( /usr/lib64/python2.7/unittest/signals.pyt __call__ s ( t __name__t __module__R R ( ( ( s( /usr/lib64/python2.7/unittest/signals.pyR s c C s d t | <d S( Ni ( R ( R ( ( s( /usr/lib64/python2.7/unittest/signals.pyt registerResult* s c C s t t j | d � � S( N( t boolR t popt None( R ( ( s( /usr/lib64/python2.7/unittest/signals.pyt removeResult- s c C sD t d k r@ t j t j � } t | � a t j t j t � n d S( N( t _interrupt_handlerR"