Module Expr Str Assign NameStore Str Import alias Import alias Import alias Import alias Import alias Import alias Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Global identifier Assign NameStore NameLoad decorator_list FunctionDef arguments args defaults body Print BinOpMod Str Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore NameStore TupleLoad ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad ListLoad Print Str Expr Call AttributeLoad NameLoad attr Num Print Str TryExcept body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Assign TupleStore NameStore NameStore AttributeLoad NameLoad attr If CompareEq NameLoad AttributeLoad NameLoad attr body If NameLoad body Print Str orelse Raise decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A 
Illustrates a problem with a race condition that might happen if a process
needs to monitor several descriptors for I/O and wait for the delivery of
a signal.
 N/A __author__ Ruslan Spivak <ruslan.spivak@gmail.com> N/A os N/A sys N/A time N/A errno N/A select N/A signal N/A GOT_SIGNAL False handler N/A N/A signum frame N/A N/A N/A GOT_SIGNAL N/A GOT_SIGNAL True N/A main N/A N/A N/A N/A N/A N/A PID: %s N/A N/A os getpid N/A N/A N/A signal signal N/A signal SIGUSR1 handler N/A N/A rlist wlist elist N/A N/A N/A N/A N/A sys stdin fileno N/A N/A N/A Sleep for 10 secs N/A N/A N/A time sleep 10 N/A Wake up and block in "select" N/A N/A N/A N/A readables writables exceptions N/A N/A select select rlist wlist elist N/A N/A N/A N/A select error N/A e N/A N/A N/A code msg N/A e args N/A N/A code N/A errno EINTR N/A N/A GOT_SIGNAL N/A N/A Got signal N/A N/A N/A N/A N/A __name__ __main__ N/A N/A N/A main