Module ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias alias Assign NameStore AttributeLoad NameLoad attr ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Pass decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Num Lambda arguments args NameParam NameParam defaults NameLoad Num keyword Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Num Lambda arguments args NameParam NameParam defaults NameLoad Num keyword Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Num Lambda arguments args NameParam NameParam defaults NameLoad Num keyword Num Assign NameStore Call AttributeLoad NameLoad attr Num Lambda arguments args NameParam NameParam defaults NameLoad Num keyword Num Expr Call AttributeLoad NameLoad attr CompareIs NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Num Lambda arguments args defaults Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad ListLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list Assign NameStore Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Num Lambda arguments args NameParam NameParam defaults Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Num keyword Num Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad ListLoad TupleLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Num Lambda arguments args NameParam NameParam defaults Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Num keyword Num Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad ListLoad TupleLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Num Lambda arguments args NameParam NameParam defaults Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Num keyword Num Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad ListLoad TupleLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Num Lambda arguments args NameParam defaults NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num Lambda arguments args NameParam defaults NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad ListLoad NameLoad NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore ListLoad TupleLoad Str Num TupleLoad Str Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr TupleLoad NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Num NameLoad Str Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Num NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpMult ListLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore ListLoad TupleLoad Str Num TupleLoad Str Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr TupleLoad NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Num NameLoad Str Expr Call AttributeLoad NameLoad attr Num NameLoad Str Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr BinOpMult ListLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore ListLoad TupleLoad Str Num TupleLoad Str Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr TupleLoad NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Num NameLoad Str FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr Num decorator_list Expr Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr Num NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpMult ListLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Lambda arguments args defaults NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Num Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Num Assign NameStore Num Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Num Num Assign NameStore Num Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Num Num Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Num Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Num Num Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Num Num Num Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Num Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr TupleLoad Call AttributeLoad NameLoad attr NameLoad decorator_list Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Num Assign NameStore Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad TupleLoad Num Num Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad TupleLoad Num Num TupleLoad BinOpAdd NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpMult Num NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad TupleLoad Num Num TupleLoad BinOpAdd NameLoad NameLoad Num TupleLoad BinOpAdd BinOpMult Num NameLoad BinOpMult Num NameLoad Num Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad ListLoad TupleLoad Num Num TupleLoad BinOpAdd NameLoad NameLoad Num TupleLoad BinOpAdd BinOpMult Num NameLoad BinOpMult Num NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr TupleLoad Call AttributeLoad NameLoad attr NameLoad decorator_list Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Num Assign NameStore Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad Num Num Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad BinOpAdd NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr BinOpMult NameLoad Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad BinOpAdd BinOpMult Num NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr BinOpMult NameLoad Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad BinOpAdd BinOpMult Num NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Num Num Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad NameLoad NameLoad decorator_list Assign NameStore Call NameLoad NameLoad NameLoad Str Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr Num Assign NameStore ListLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num BinOpMod Str TupleLoad Call NameLoad NameLoad For TupleStore NameStore NameStore NameStore NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Num Num Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num keyword NameLoad Assign NameStore ListLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num BinOpMod Str TupleLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Lambda arguments args defaults NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num keyword NameLoad Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad ListLoad NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Raise Call NameLoad NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Raise Call NameLoad NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr NameLoad If CompareGt Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num decorator_list Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword NameLoad Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Num Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Call NameLoad Return NameLoad decorator_list Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad If CompareEq Call NameLoad NameLoad Num body Return NameLoad orelse Return NameLoad decorator_list Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Expr Call AttributeLoad NameLoad attr ListLoad Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr ListLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Num Num decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore Call NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Return NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num NameLoad Str keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad ListLoad TupleLoad Str Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args defaults body Raise Call NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num NameLoad Expr Call AttributeLoad NameLoad attr Num Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list decorator_list
N/A twisted.python.compat set twisted.trial unittest twisted.internet interfaces task reactor defer error N/A Clock N/A task Clock twisted.python failure TestableLoopingCall N/A N/A task LoopingCall N/A __init__ N/A N/A self clock N/A a kw N/A N/A N/A N/A N/A super TestableLoopingCall self __init__ a kw N/A N/A self clock clock N/A N/A TestException N/A Exception N/A N/A N/A ClockTestCase N/A N/A unittest TestCase N/A N/A 
    Test the non-wallclock based clock implementation.
     testSeconds N/A N/A self N/A N/A N/A 
        Test that the L{seconds} method of the fake clock returns fake time.
         N/A c N/A N/A task Clock N/A N/A N/A self assertEqual N/A N/A c seconds 0 N/A testCallLater N/A N/A self N/A N/A N/A 
        Test that calls can be scheduled for later with the fake clock and
        hands back an L{IDelayedCall}.
         N/A c N/A N/A task Clock N/A call N/A N/A c callLater 1 N/A N/A N/A a b N/A None 1 b 2 N/A N/A N/A self failUnless N/A N/A N/A interfaces IDelayedCall providedBy call N/A N/A N/A self assertEqual N/A N/A call getTime 1 N/A N/A N/A self failUnless N/A N/A call active N/A testCallLaterCancelled N/A N/A self N/A N/A N/A 
        Test that calls can be cancelled.
         N/A c N/A N/A task Clock N/A call N/A N/A c callLater 1 N/A N/A N/A a b N/A None 1 b 2 N/A N/A N/A call cancel N/A N/A N/A self failIf N/A N/A call active N/A test_callLaterOrdering N/A N/A self N/A N/A N/A 
        Test that the DelayedCall returned is not one previously
        created.
         N/A c N/A N/A task Clock N/A call1 N/A N/A c callLater 10 N/A N/A N/A a b N/A None 1 b 2 N/A call2 N/A N/A c callLater 1 N/A N/A N/A a b N/A None 3 b 4 N/A N/A N/A self failIf N/A call1 call2 N/A testAdvance N/A N/A self N/A N/A N/A 
        Test that advancing the clock will fire some calls.
         N/A events N/A N/A c N/A N/A task Clock N/A call N/A N/A c callLater 2 N/A N/A N/A N/A N/A N/A events append None N/A N/A N/A c advance 1 N/A N/A N/A self assertEqual events N/A N/A N/A N/A c advance 1 N/A N/A N/A self assertEqual events N/A None N/A N/A N/A self failIf N/A N/A call active N/A testAdvanceCancel N/A N/A self N/A N/A N/A 
        Test attemping to cancel the call in a callback.

        AlreadyCalled should be raised, not for example a ValueError from
        removing the call from Clock.calls. This requires call.called to be
        set before the callback is called.
         N/A c N/A N/A task Clock cb N/A N/A N/A N/A N/A N/A N/A self assertRaises N/A error AlreadyCalled N/A call cancel N/A N/A call N/A N/A c callLater 1 cb N/A N/A N/A c advance 1 N/A testCallLaterDelayed N/A N/A self N/A N/A N/A 
        Test that calls can be delayed.
         N/A events N/A N/A c N/A N/A task Clock N/A call N/A N/A c callLater 1 N/A N/A N/A a b N/A N/A N/A events append N/A a b 1 b 2 N/A N/A N/A call delay 1 N/A N/A N/A self assertEqual N/A N/A call getTime 2 N/A N/A N/A c advance 1.5 N/A N/A N/A self assertEqual events N/A N/A N/A N/A c advance 1.0 N/A N/A N/A self assertEqual events N/A N/A 1 2 N/A testCallLaterResetLater N/A N/A self N/A N/A N/A 
        Test that calls can have their time reset to a later time.
         N/A events N/A N/A c N/A N/A task Clock N/A call N/A N/A c callLater 2 N/A N/A N/A a b N/A N/A N/A events append N/A a b 1 b 2 N/A N/A N/A c advance 1 N/A N/A N/A call reset 3 N/A N/A N/A self assertEqual N/A N/A call getTime 4 N/A N/A N/A c advance 2 N/A N/A N/A self assertEqual events N/A N/A N/A N/A c advance 1 N/A N/A N/A self assertEqual events N/A N/A 1 2 N/A testCallLaterResetSooner N/A N/A self N/A N/A N/A 
        Test that calls can have their time reset to an earlier time.
         N/A events N/A N/A c N/A N/A task Clock N/A call N/A N/A c callLater 4 N/A N/A N/A a b N/A N/A N/A events append N/A a b 1 b 2 N/A N/A N/A call reset 3 N/A N/A N/A self assertEqual N/A N/A call getTime 3 N/A N/A N/A c advance 3 N/A N/A N/A self assertEqual events N/A N/A 1 2 N/A test_getDelayedCalls N/A N/A self N/A N/A N/A 
        Test that we can get a list of all delayed calls
         N/A c N/A N/A task Clock N/A call N/A N/A c callLater 1 N/A N/A N/A x N/A None N/A call2 N/A N/A c callLater 2 N/A N/A N/A x N/A None N/A calls N/A N/A c getDelayedCalls N/A N/A N/A self assertEqual N/A set N/A call call2 N/A set calls N/A test_getDelayedCallsEmpty N/A N/A self N/A N/A N/A 
        Test that we get an empty list from getDelayedCalls on a newly
        constructed Clock.
         N/A c N/A N/A task Clock N/A N/A N/A self assertEqual N/A N/A c getDelayedCalls N/A N/A test_providesIReactorTime N/A N/A self N/A N/A N/A c N/A N/A task Clock N/A N/A N/A self failUnless N/A N/A N/A interfaces IReactorTime providedBy c Clock does not provide IReactorTime N/A test_callLaterKeepsCallsOrdered N/A N/A self N/A N/A N/A 
        The order of calls scheduled by L{task.Clock.callLater} is honored when
        adding a new call via calling L{task.Clock.callLater} again.

        For example, if L{task.Clock.callLater} is invoked with a callable "A"
        and a time t0, and then the L{IDelayedCall} which results from that is
        C{reset} to a later time t2 which is greater than t0, and I{then}
        L{task.Clock.callLater} is invoked again with a callable "B", and time
        t1 which is less than t2 but greater than t0, "B" will be invoked before
        "A".
         N/A result N/A N/A expected N/A N/A b 2.0 N/A a 3.0 N/A clock N/A N/A task Clock N/A logtime N/A N/A N/A n N/A N/A N/A result append N/A n N/A N/A clock seconds N/A call_a N/A N/A clock callLater 1.0 logtime a N/A N/A N/A call_a reset 3.0 N/A N/A N/A clock callLater 2.0 logtime b N/A N/A N/A clock pump N/A N/A 1 3 N/A N/A N/A self assertEqual result expected N/A test_callLaterResetKeepsCallsOrdered N/A N/A self N/A N/A N/A 
        The order of calls scheduled by L{task.Clock.callLater} is honored when
        re-scheduling an existing call via L{IDelayedCall.reset} on the result
        of a previous call to C{callLater}.

        For example, if L{task.Clock.callLater} is invoked with a callable "A"
        and a time t0, and then L{task.Clock.callLater} is invoked again with a
        callable "B", and time t1 greater than t0, and finally the
        L{IDelayedCall} for "A" is C{reset} to a later time, t2, which is
        greater than t1, "B" will be invoked before "A".
         N/A result N/A N/A expected N/A N/A b 2.0 N/A a 3.0 N/A clock N/A N/A task Clock N/A logtime N/A N/A N/A n N/A N/A N/A result append N/A n N/A N/A clock seconds N/A call_a N/A N/A clock callLater 1.0 logtime a N/A N/A N/A clock callLater 2.0 logtime b N/A N/A N/A call_a reset 3.0 N/A N/A N/A clock pump N/A N/A 1 3 N/A N/A N/A self assertEqual result expected N/A test_callLaterResetInsideCallKeepsCallsOrdered N/A N/A self N/A N/A N/A 
        The order of calls scheduled by L{task.Clock.callLater} is honored when
        re-scheduling an existing call via L{IDelayedCall.reset} on the result
        of a previous call to C{callLater}, even when that call to C{reset}
        occurs within the callable scheduled by C{callLater} itself.
         N/A result N/A N/A expected N/A N/A c 3.0 N/A b 4.0 N/A clock N/A N/A task Clock N/A logtime N/A N/A N/A n N/A N/A N/A result append N/A n N/A N/A clock seconds N/A call_b N/A N/A clock callLater 2.0 logtime b a N/A N/A N/A N/A N/A N/A N/A call_b reset 3.0 N/A N/A N/A N/A clock callLater 1.0 a N/A N/A N/A clock callLater 3.0 logtime c N/A N/A N/A clock pump N/A N/A 0.5 10 N/A N/A N/A self assertEqual result expected N/A N/A LoopTestCase N/A N/A unittest TestCase N/A N/A 
    Tests for L{task.LoopingCall} based on a fake L{IReactorTime}
    implementation.
     test_defaultClock N/A N/A self N/A N/A N/A 
        L{LoopingCall}'s default clock should be the reactor.
         N/A call N/A N/A task LoopingCall N/A N/A N/A N/A None N/A N/A N/A self assertEqual N/A call clock reactor N/A test_callbackTimeSkips N/A N/A self N/A N/A N/A 
        When more time than the defined interval passes during the execution
        of a callback, L{LoopingCall} should schedule the next call for the
        next interval which is still in the future.
         N/A times N/A N/A callDuration None N/A clock N/A N/A task Clock aCallback N/A N/A N/A N/A N/A N/A N/A times append N/A N/A clock seconds N/A N/A N/A clock advance callDuration N/A N/A call N/A N/A task LoopingCall aCallback N/A N/A call clock clock N/A callDuration 2 N/A N/A N/A call start 0.5 N/A N/A N/A self assertEqual times N/A 0 N/A N/A N/A self assertEqual N/A N/A clock seconds callDuration N/A N/A N/A clock advance 0 N/A N/A N/A self assertEqual times N/A 0 N/A callDuration 1 N/A N/A N/A clock advance 0.5 N/A N/A N/A self assertEqual times N/A 0 2.5 N/A N/A N/A self assertEqual N/A N/A clock seconds 3.5 N/A N/A N/A clock advance 0 N/A N/A N/A self assertEqual times N/A 0 2.5 N/A callDuration 0 N/A N/A N/A clock advance 0.5 N/A N/A N/A self assertEqual times N/A 0 2.5 4 N/A N/A N/A self assertEqual N/A N/A clock seconds 4 N/A test_reactorTimeSkips N/A N/A self N/A N/A N/A 
        When more time than the defined interval passes between when
        L{LoopingCall} schedules itself to run again and when it actually
        runs again, it should schedule the next call for the next interval
        which is still in the future.
         N/A times N/A N/A clock N/A N/A task Clock aCallback N/A N/A N/A N/A N/A N/A N/A times append N/A N/A clock seconds N/A N/A call N/A N/A task LoopingCall aCallback N/A N/A call clock clock N/A N/A N/A call start 0.5 N/A N/A N/A self assertEqual times N/A 0 N/A N/A N/A clock advance 2 N/A N/A N/A self assertEqual times N/A 0 2 N/A N/A N/A clock advance 1 N/A N/A N/A self assertEqual times N/A 0 2 3 N/A N/A N/A clock advance 0 N/A N/A N/A self assertEqual times N/A 0 2 3 N/A test_reactorTimeCountSkips N/A N/A self N/A N/A N/A 
        When L{LoopingCall} schedules itself to run again, if more than the
        specified interval has passed, it should schedule the next call for the
        next interval which is still in the future. If it was created
        using L{LoopingCall.withCount}, a positional argument will be
        inserted at the beginning of the argument list, indicating the number
        of calls that should have been made.
         N/A times N/A N/A clock N/A N/A task Clock aCallback N/A N/A numCalls N/A N/A N/A N/A N/A times append N/A N/A N/A clock seconds numCalls N/A N/A call N/A N/A N/A task LoopingCall withCount aCallback N/A N/A call clock clock N/A INTERVAL 0.5 N/A REALISTIC_DELAY 0.01 N/A N/A N/A call start INTERVAL N/A N/A N/A self assertEqual times N/A N/A 0 1 N/A N/A N/A clock advance N/A INTERVAL REALISTIC_DELAY N/A N/A N/A self assertEqual times N/A N/A 0 1 N/A N/A INTERVAL REALISTIC_DELAY 1 N/A N/A N/A clock advance N/A N/A 3 INTERVAL REALISTIC_DELAY N/A N/A N/A self assertEqual times N/A N/A 0 1 N/A N/A INTERVAL REALISTIC_DELAY 1 N/A N/A N/A 4 INTERVAL N/A 2 REALISTIC_DELAY 3 N/A N/A N/A clock advance 0 N/A N/A N/A self assertEqual times N/A N/A 0 1 N/A N/A INTERVAL REALISTIC_DELAY 1 N/A N/A N/A 4 INTERVAL N/A 2 REALISTIC_DELAY 3 N/A test_countLengthyIntervalCounts N/A N/A self N/A N/A N/A 
        L{LoopingCall.withCount} counts only calls that were expected to be
        made.  So, if more than one, but less than two intervals pass between
        invocations, it won't increase the count above 1.  For example, a
        L{LoopingCall} with interval T expects to be invoked at T, 2T, 3T, etc.
        However, the reactor takes some time to get around to calling it, so in
        practice it will be called at T+something, 2T+something, 3T+something;
        and due to other things going on in the reactor, "something" is
        variable.  It won't increase the count unless "something" is greater
        than T.  So if the L{LoopingCall} is invoked at T, 2.75T, and 3T,
        the count has not increased, even though the distance between
        invocation 1 and invocation 2 is 1.75T.
         N/A times N/A N/A clock N/A N/A task Clock aCallback N/A N/A count N/A N/A N/A N/A N/A times append N/A N/A N/A clock seconds count N/A N/A call N/A N/A N/A task LoopingCall withCount aCallback N/A N/A call clock clock N/A INTERVAL 0.5 N/A REALISTIC_DELAY 0.01 N/A N/A N/A call start INTERVAL N/A N/A N/A self assertEqual N/A N/A times pop N/A 0 1 N/A N/A N/A clock advance N/A INTERVAL REALISTIC_DELAY N/A N/A N/A self assertEqual N/A N/A times pop N/A N/A INTERVAL REALISTIC_DELAY 1 N/A N/A N/A clock advance N/A INTERVAL 1.75 N/A N/A N/A self assertEqual N/A N/A times pop N/A N/A N/A 2.75 INTERVAL REALISTIC_DELAY 1 N/A N/A N/A clock advance N/A INTERVAL 0.25 N/A N/A N/A self assertEqual N/A N/A times pop N/A N/A N/A 3.0 INTERVAL REALISTIC_DELAY 1 N/A testBasicFunction N/A N/A self N/A N/A N/A timings N/A 0.05 0.1 0.1 N/A clock N/A N/A task Clock N/A L N/A foo N/A N/A a b c d N/A None None N/A N/A N/A N/A L append N/A a b c d N/A N/A lc N/A TestableLoopingCall clock foo a b d d N/A D N/A N/A lc start 0.1 N/A theResult N/A saveResult N/A N/A result N/A N/A N/A N/A N/A theResult append result N/A N/A N/A N/A D addCallback saveResult N/A N/A N/A clock pump timings N/A N/A N/A self assertEqual N/A len L 3 N/A got %d iterations, not 3 N/A N/A len L N/A N/A a b c d L N/A N/A N/A N/A self assertEqual a a N/A N/A N/A self assertEqual b b N/A N/A N/A self assertEqual c None N/A N/A N/A self assertEqual d d N/A N/A N/A lc stop N/A N/A N/A self assertIdentical N/A theResult N/A 0 lc N/A N/A N/A self failIf N/A clock calls N/A testDelayedStart N/A N/A self N/A N/A N/A timings N/A 0.05 0.1 0.1 N/A clock N/A N/A task Clock N/A L N/A N/A lc N/A TestableLoopingCall clock N/A L append None N/A d N/A N/A lc start 0.1 now False N/A theResult N/A saveResult N/A N/A result N/A N/A N/A N/A N/A theResult append result N/A N/A N/A N/A d addCallback saveResult N/A N/A N/A clock pump timings N/A N/A N/A self assertEqual N/A len L 2 N/A got %d iterations, not 2 N/A N/A len L N/A N/A N/A lc stop N/A N/A N/A self assertIdentical N/A theResult N/A 0 lc N/A N/A N/A self failIf N/A clock calls N/A testBadDelay N/A N/A self N/A N/A N/A lc N/A N/A task LoopingCall N/A N/A N/A N/A None N/A N/A N/A self assertRaises ValueError N/A lc start -1 N/A _stoppingTest N/A N/A self delay N/A N/A N/A ran N/A foo N/A N/A N/A N/A N/A N/A N/A ran append None N/A N/A clock N/A N/A task Clock N/A lc N/A TestableLoopingCall clock foo N/A N/A N/A lc start delay now False N/A N/A N/A lc stop N/A N/A N/A self failIf ran N/A N/A N/A self failIf N/A clock calls N/A testStopAtOnce N/A N/A self N/A N/A N/A N/A N/A self _stoppingTest 0 N/A testStoppingBeforeDelayedStart N/A N/A self N/A N/A N/A N/A N/A self _stoppingTest 10 N/A test_reset N/A N/A self N/A N/A N/A 
        Test that L{LoopingCall} can be reset.
         N/A ran N/A foo N/A N/A N/A N/A N/A N/A N/A ran append None N/A N/A c N/A N/A task Clock N/A lc N/A TestableLoopingCall c foo N/A N/A N/A lc start 2 now False N/A N/A N/A c advance 1 N/A N/A N/A lc reset N/A N/A N/A c advance 1 N/A N/A N/A self assertEqual ran N/A N/A N/A N/A c advance 1 N/A N/A N/A self assertEqual ran N/A None N/A N/A ReactorLoopTestCase N/A N/A unittest TestCase N/A testFailure N/A N/A self N/A N/A foo N/A N/A x N/A N/A N/A N/A TestException x N/A N/A lc N/A N/A task LoopingCall foo bar N/A N/A N/A self assertFailure N/A N/A lc start 0.1 TestException N/A testFailAndStop N/A N/A self N/A N/A foo N/A N/A x N/A N/A N/A N/A N/A lc stop N/A N/A TestException x N/A N/A lc N/A N/A task LoopingCall foo bar N/A N/A N/A self assertFailure N/A N/A lc start 0.1 TestException N/A testEveryIteration N/A N/A self N/A N/A N/A ran N/A foo N/A N/A N/A N/A N/A N/A N/A ran append None N/A N/A N/A len ran 5 N/A N/A N/A N/A lc stop N/A N/A lc N/A N/A task LoopingCall foo N/A d N/A N/A lc start 0 stopped N/A N/A ign N/A N/A N/A N/A N/A self assertEqual N/A len ran 6 N/A N/A N/A N/A d addCallback stopped N/A testStopAtOnceLater N/A N/A self N/A N/A N/A d N/A N/A defer Deferred foo N/A N/A N/A N/A N/A N/A N/A d errback N/A N/A failure DefaultException This task also should never get called. N/A N/A N/A self _lc N/A N/A task LoopingCall foo N/A N/A N/A N/A self _lc start 1 now False N/A N/A N/A reactor callLater 0 N/A self _callback_for_testStopAtOnceLater d N/A d N/A _callback_for_testStopAtOnceLater N/A N/A self d N/A N/A N/A N/A N/A N/A self _lc stop N/A N/A N/A reactor callLater 0 N/A d callback success N/A testWaitDeferred N/A N/A self N/A N/A N/A timings N/A 0.2 0.8 N/A clock N/A N/A task Clock foo N/A N/A N/A N/A N/A d N/A N/A defer Deferred N/A N/A N/A d addCallback N/A N/A N/A _ N/A N/A N/A lc stop N/A N/A N/A clock callLater 1 N/A d callback None N/A d N/A N/A lc N/A TestableLoopingCall clock foo N/A N/A N/A lc start 0.2 N/A N/A N/A clock pump timings N/A N/A N/A self failIf N/A clock calls N/A testFailurePropagation N/A N/A self N/A N/A N/A timings N/A 0.3 N/A clock N/A N/A task Clock foo N/A N/A N/A N/A N/A d N/A N/A defer Deferred N/A N/A N/A clock callLater 0.3 N/A d errback N/A TestException N/A d N/A N/A lc N/A TestableLoopingCall clock foo N/A d N/A N/A lc start 1 N/A N/A N/A self assertFailure d TestException N/A N/A N/A clock pump timings N/A N/A N/A self failIf N/A clock calls N/A d N/A test_deferredWithCount N/A N/A self N/A N/A N/A 
        In the case that the function passed to L{LoopingCall.withCount}
        returns a deferred, which does not fire before the next interval
        elapses, the function should not be run again. And if a function call
        is skipped in this fashion, the appropriate count should be
        provided.
         N/A testClock N/A N/A task Clock N/A d N/A N/A defer Deferred N/A deferredCounts N/A countTracker N/A N/A possibleCount N/A N/A N/A N/A N/A deferredCounts append possibleCount N/A N/A N/A len deferredCounts 1 N/A N/A d N/A N/A None N/A N/A lc N/A N/A N/A task LoopingCall withCount countTracker N/A N/A lc clock testClock N/A d N/A N/A lc start 0.2 now False N/A N/A N/A self assertEqual deferredCounts N/A N/A N/A N/A testClock pump N/A 0.2 0.4 N/A N/A N/A self assertEqual N/A len deferredCounts 1 N/A N/A N/A d callback None N/A N/A N/A testClock pump N/A 0.2 N/A N/A N/A self assertEqual N/A len deferredCounts 2 N/A N/A N/A self assertEqual deferredCounts N/A 1 3 N/A N/A DeferLaterTests N/A N/A unittest TestCase N/A N/A 
    Tests for L{task.deferLater}.
     test_callback N/A N/A self N/A N/A N/A 
        The L{Deferred} returned by L{task.deferLater} is called back after
        the specified delay with the result of the function passed in.
         N/A results N/A N/A flag N/A object callable N/A N/A foo bar N/A N/A N/A N/A N/A results append N/A foo bar N/A flag N/A N/A clock N/A N/A task Clock N/A d N/A N/A task deferLater clock 3 callable foo bar bar N/A N/A N/A d addCallback N/A self assertIdentical flag N/A N/A N/A clock advance 2 N/A N/A N/A self assertEqual results N/A N/A N/A N/A clock advance 1 N/A N/A N/A self assertEqual results N/A N/A foo bar N/A d N/A test_errback N/A N/A self N/A N/A N/A 
        The L{Deferred} returned by L{task.deferLater} is errbacked if the
        supplied function raises an exception.
         callable N/A N/A N/A N/A N/A N/A TestException N/A N/A clock N/A N/A task Clock N/A d N/A N/A task deferLater clock 1 callable N/A N/A N/A clock advance 1 N/A N/A N/A self assertFailure d TestException N/A test_cancel N/A N/A self N/A N/A N/A 
        The L{Deferred} returned by L{task.deferLater} can be
        cancelled to prevent the call from actually being performed.
         N/A called N/A N/A clock N/A N/A task Clock N/A d N/A N/A task deferLater clock 1 N/A called append None N/A N/A N/A d cancel cbCancelled N/A N/A ignored N/A N/A N/A N/A N/A self assertEqual N/A N/A N/A clock getDelayedCalls N/A N/A N/A self assertFalse called N/A N/A N/A N/A self assertFailure d N/A defer CancelledError N/A N/A N/A d addCallback cbCancelled N/A d N/A N/A