Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias Import alias Import alias ClassDef bases body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return CompareIs AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Return Num decorator_list decorator_list FunctionDef arguments args defaults body Assign NameStore Num If CompareIs NameLoad Num body Return Str decorator_list FunctionDef arguments args defaults body Expr Str decorator_list FunctionDef arguments args defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args defaults body Return NameLoad decorator_list FunctionDef arguments args defaults body Return NameLoad decorator_list FunctionDef arguments args defaults body Return NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Assign NameStore Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list Assign NameStore Str Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Return TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Str ListLoad body Assign NameStore Call NameLoad NameLoad Assign NameStore BinOpAdd NameLoad BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return TupleLoad NameLoad NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Lambda arguments args NameParam defaults NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Num Num Assign NameStore Lambda arguments args NameParam defaults Num NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad Num Num Assign NameStore Lambda arguments args NameParam NameParam defaults BinOpMult NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Num Num Num Assign NameStore Lambda arguments args NameParam NameParam defaults Num BinOpMult NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Num Num Assign NameStore Call NameLoad Num Assign NameStore Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Num Expr Call AttributeLoad NameLoad attr Call NameLoad Num Assign NameStore Lambda arguments args NameParam NameParam defaults Num kwarg TupleLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad keyword Num keyword Num keyword Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Num Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Str Num Assign NameStore Lambda arguments args NameParam NameParam defaults Num vararg TupleLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad Num Num Num Num Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Num Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Num TryExcept body ClassDef bases body Assign NameStore ListLoad Lambda arguments args defaults vararg SubscriptLoad NameLoad Index Num decorator_list handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Str orelse Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Call SubscriptLoad AttributeLoad NameLoad attr Index Num Num Num Str TryExcept body ClassDef bases body Assign NameStore Lambda arguments args defaults vararg SubscriptLoad NameLoad Index Num decorator_list handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Str orelse Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body TryExcept body Expr Call AttributeLoad NameLoad attr Call Call NameLoad Num handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr CompareIs Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr CompareIs Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad Str Str Expr Call AttributeLoad NameLoad attr Call Call NameLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Str FunctionDef arguments args defaults body Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Str TryExcept body Expr Call NameLoad Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args defaults body Return NameLoad decorator_list FunctionDef arguments args defaults body Raise NameLoad decorator_list Assign NameStore Str Expr Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Num Num keyword Num keyword Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Num TryExcept body Expr Call AttributeLoad NameLoad attr Call NameLoad Str Str handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Str Num handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str orelse Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Str Num Num handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str orelse Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Slice Num attr Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr CompareEq NameLoad ListLoad Num Str Assign TupleStore NameStore NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr CompareEq NameLoad ListLoad Num Num Str Assign NameStore Num FunctionDef arguments args NameParam defaults NameLoad body Return NameLoad decorator_list Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults kwarg body Return NameLoad decorator_list Expr Call AttributeLoad NameLoad attr Call NameLoad Dict Expr Call AttributeLoad NameLoad attr Call NameLoad keyword Num Call NameLoad keyword Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults vararg kwarg body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults vararg kwarg body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Num body Return TupleLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults Num body Return TupleLoad NameLoad NameLoad decorator_list NameLoad NameLoad Assign NameStore Call NameLoad Num Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Str Assign NameStore ListLoad Assign NameStore Call NameLoad keyword Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Str FunctionDef arguments args NameParam defaults body Return Str decorator_list AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad Str Str FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults vararg kwarg body Return BinOpAdd Call NameLoad NameLoad NameLoad NameLoad decorator_list Return NameLoad decorator_list Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list Call NameLoad Num FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list Call NameLoad Num Assign NameStore Call Call NameLoad Num NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad Num Num Expr Call AttributeLoad NameLoad attr Call NameLoad Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list decorator_list Assign NameStore Str FunctionDef arguments args NameParam defaults body Return Call NameLoad BinOpMod Str NameLoad decorator_list
N/A UnitTest UnitTest ClassTest PassMeAClass ClassTest ExampleChildClass ClassTest ExampleMultiSuperclassParent1 N/A Factory2 N/A imports.decors N/A imports.enum.Late Handler N/A N/A __init__ N/A N/A self x N/A N/A N/A N/A self _x x N/A handle N/A N/A self y N/A N/A N/A N/A N/A self _x y N/A N/A Callable N/A object N/A __call__ N/A N/A self N/A N/A N/A 5 N/A N/A aProcedure N/A N/A N/A N/A N/A x 1 N/A N/A x 2 N/A N/A something N/A aFunctionWithOnlyDoc N/A N/A N/A N/A N/A Only a doc string N/A aFunctionReturningNone N/A N/A N/A N/A N/A None N/A aFunctionReturningParam N/A N/A param N/A N/A N/A param N/A aFunctionReturningFunction N/A N/A N/A N/A N/A aFunctionReturningParam N/A aFunctionReturningGlobalX1 N/A N/A N/A N/A N/A x N/A aFunctionReturningGlobalX2 N/A N/A N/A N/A N/A x N/A aFunctionReturningGlobalX3 N/A N/A N/A N/A N/A a x N/A a N/A aFunctionReturningLocalX N/A N/A N/A N/A N/A x local test N/A x N/A aFunctionReturningArgX N/A N/A x N/A N/A N/A x N/A N/A x global test N/A name mapping-test call N/A N/A default arguments this label N/A None N/A N/A N/A name default arguments this label N/A functionDefaults N/A N/A s l N/A N/A N/A N/A n N/A len l N/A s N/A s N/A %d n N/A N/A N/A l append n N/A N/A s l N/A FunctionTest N/A UnitTest N/A testLambda N/A N/A self N/A N/A N/A f N/A N/A N/A x N/A x N/A N/A N/A self assertEqual N/A f 1 1 N/A f N/A N/A N/A x N/A 1 x N/A N/A N/A self assertEqual N/A f 1 N/A N/A N/A self assertEqual N/A f 2 2 N/A f N/A N/A N/A x y N/A N/A x y N/A N/A N/A self assertEqual N/A f 2 3 6 N/A f N/A N/A N/A x y N/A 4 N/A x y N/A N/A N/A self assertEqual N/A f 2 8 N/A h N/A Handler 5 N/A f N/A N/A N/A x N/A N/A N/A h handle x N/A N/A N/A self assertTrue N/A f 5 N/A N/A N/A self assertFalse N/A f 4 N/A f N/A N/A N/A a b N/A 1 kw N/A a b kw N/A v N/A f b 2 c 3 a 1 N/A N/A N/A self assertEqual N/A v N/A 0 1 N/A N/A N/A self assertEqual N/A v N/A 1 2 N/A N/A N/A self assertEqual N/A N/A v N/A 2 N/A c 3 N/A f N/A N/A N/A a b N/A 1 args N/A a b args N/A v N/A f 1 2 3 4 N/A N/A N/A self assertEqual N/A N/A v N/A 2 N/A 0 3 N/A N/A N/A self assertEqual N/A N/A v N/A 2 N/A 1 4 N/A N/A ClassWithLambdas1 N/A N/A N/A f1 N/A N/A N/A N/A N/A args N/A args N/A 0 N/A N/A N/A N/A N/A N/A N/A self fail issue #385 - lambda in class definition N/A N/A c N/A ClassWithLambdas1 N/A N/A N/A self assertEqual N/A N/A N/A c f1 N/A 0 1 1 issue #385 - lambda function called as bound method N/A N/A ClassWithLambdas2 N/A N/A N/A f2 N/A N/A N/A N/A args N/A args N/A 0 N/A N/A N/A N/A N/A N/A N/A self fail issue #385 - lambda in class definition N/A N/A c N/A ClassWithLambdas2 N/A N/A N/A self assertEqual N/A N/A c f2 1 c issue #385 - bound method lambda called as function N/A test_callable N/A N/A self N/A N/A N/A N/A N/A N/A N/A self assertEqual N/A N/A Callable 5 N/A N/A N/A N/A N/A N/A self fail Bug #572 Callable()() __call__ not supported N/A N/A N/A self assertTrue N/A callable Callable N/A N/A N/A self assertTrue N/A callable N/A Callable Bug #572 callable(Callable()) __call__ not supported N/A testProcedure N/A N/A self N/A N/A N/A N/A N/A self assertTrue N/A N/A aFunctionReturningNone None Function should return None N/A N/A N/A self assertTrue N/A N/A aProcedure None Procedures should always return None N/A testVariableFunction N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A aFunctionReturningParam foo foo N/A N/A N/A self assertEqual N/A N/A aFunctionReturningFunction foo foo N/A testLookup N/A N/A self N/A N/A N/A expected_result1 global test N/A expected_result2 local test N/A N/A N/A self assertEqual N/A aFunctionReturningGlobalX1 expected_result1 N/A N/A N/A self assertEqual N/A aFunctionReturningGlobalX2 expected_result1 N/A N/A N/A self assertEqual N/A aFunctionReturningGlobalX3 expected_result1 N/A N/A N/A self assertEqual N/A aFunctionReturningLocalX expected_result2 N/A N/A N/A self assertEqual N/A aFunctionReturningArgX test test N/A testLookupLate N/A N/A self N/A N/A N/A N/A N/A self assertEqual late_global late_global local_lookup1 N/A N/A N/A N/A N/A N/A N/A self assertEqual late_local late_local N/A N/A N/A self assertTrue N/A callable local_lookup2 N/A N/A N/A self assertEqual N/A local_lookup2 late_local N/A N/A N/A N/A local_lookup3 N/A N/A N/A self fail lookup3 N/A N/A N/A NotImplementedError N/A e N/A N/A N/A N/A self assertTrue True N/A local_lookup2 N/A N/A N/A N/A N/A late_local N/A local_lookup3 N/A N/A N/A N/A N/A NotImplementedError N/A N/A late_local late_local N/A N/A local_lookup1 N/A late N/A N/A N/A N/A imports enum Late getLate N/A N/A N/A self assertEqual N/A late value late N/A testNameMapping N/A N/A self N/A N/A N/A r N/A call 1 2 this 3 label 4 N/A N/A N/A self assertEqual N/A r N/A 0 mapping-test N/A N/A N/A self assertEqual N/A r N/A 1 1 N/A N/A N/A self assertEqual N/A r N/A 2 2 N/A N/A N/A self assertEqual N/A r N/A 3 3 N/A N/A N/A self assertEqual N/A r N/A 4 4 N/A N/A N/A N/A N/A self assertEqual N/A Text foo Text: foo N/A N/A N/A N/A N/A N/A self fail Bug #574: javascript keywords N/A testFactory N/A N/A self N/A N/A N/A N/A N/A Factory2 gregister passme PassMeAClass N/A N/A N/A Factory2 gregister exchild ExampleChildClass N/A N/A N/A Factory2 gregister mscp1 ExampleMultiSuperclassParent1 N/A pmc N/A N/A Factory2 ggetObject passme N/A N/A N/A self assertEqual N/A N/A pmc foo foo in PassMeAClass N/A N/A N/A pmc N/A N/A Factory2 ggetObject mscp1 5 N/A N/A N/A N/A N/A N/A self assertEqual False True Exception indicates bug in compiler: 'Error: uncaught exception: ExampleMultiSuperclassParent1() arguments after ** must be a dictionary 5' N/A N/A N/A N/A self assertEqual N/A pmc x 5 N/A N/A N/A pmc N/A N/A Factory2 ggetObject exchild 5 7 N/A N/A N/A N/A N/A N/A self assertEqual False True Exception indicates bug in compiler: 'Error: uncaught exception: ExampleChildClass() arguments after ** must be a dictionary 7' N/A N/A N/A N/A self assertEqual N/A pmc prop_a 1 N/A N/A N/A self assertEqual N/A pmc prop_b 7 N/A testSliceFunc N/A N/A self N/A N/A N/A s 123  N/A s N/A N/A N/A s N/A 1 rstrip N/A N/A N/A self assertEqual s 23 N/A testFunctionDefaults N/A N/A self N/A N/A N/A N/A s l N/A functionDefaults N/A N/A N/A self assertEqual s 0 N/A N/A N/A self assertTrue N/A l N/A 0 First mutable default mismatch N/A N/A s l N/A functionDefaults N/A N/A N/A self assertTrue N/A l N/A 0 1 Second mutable default mismatch bug #214 N/A inittest 1 f N/A N/A inittest N/A inittest N/A N/A inittest N/A N/A N/A N/A self assertEqual N/A f inittest N/A testKwargs N/A N/A self N/A N/A f N/A N/A N/A kwargs N/A N/A kwargs N/A N/A N/A N/A self assertEqual N/A f N/A N/A N/A N/A self assertEqual N/A f a 1 N/A dict a 1 N/A testFunctionDecorating N/A N/A self N/A N/A N/A log N/A deco1 N/A N/A f N/A N/A fn N/A N/A N/A args kwargs N/A N/A N/A N/A log append deco1 begin N/A res N/A f args kwargs N/A N/A N/A log append deco1 end N/A res N/A N/A fn N/A deco2 N/A N/A f N/A N/A fn N/A N/A N/A args kwargs N/A N/A N/A N/A log append deco2 begin N/A res N/A f args kwargs N/A N/A N/A log append deco2 end N/A res N/A N/A fn N/A fn1 N/A N/A a b N/A 0 N/A N/A N/A a b N/A deco1 fn2 N/A N/A a b N/A 0 N/A N/A N/A a b N/A deco1 deco2 N/A res N/A fn1 1 2 N/A N/A N/A self assertEqual N/A res N/A 0 1 N/A N/A N/A self assertEqual N/A res N/A 1 2 N/A N/A N/A self assertEqual N/A len log 2 N/A N/A N/A self assertEqual N/A log N/A 0 deco1 begin N/A N/A N/A self assertEqual N/A log N/A 1 deco1 end N/A log N/A N/A res N/A fn2 a 3 N/A N/A N/A self assertEqual N/A res N/A 0 3 N/A N/A N/A self assertEqual N/A res N/A 1 0 N/A N/A N/A self assertEqual N/A len log 4 N/A N/A N/A self assertEqual N/A log N/A 0 deco1 begin N/A N/A N/A self assertEqual N/A log N/A 1 deco2 begin N/A N/A N/A self assertEqual N/A log N/A 2 deco2 end N/A N/A N/A self assertEqual N/A log N/A 3 deco1 end fn3 N/A N/A x N/A N/A N/A b N/A N/A N/A imports decors othermoduledeco1 N/A N/A N/A self assertEqual N/A fn3 b abc shiftdecorator N/A N/A si N/A N/A wrapper N/A N/A fn N/A N/A decorated N/A N/A N/A args kw N/A N/A N/A N/A fn args kw si N/A N/A decorated N/A N/A wrapper N/A fn4 N/A N/A v N/A N/A N/A v N/A fn4d1 N/A N/A v N/A N/A N/A v N/A N/A shiftdecorator 1 fn4d2 N/A N/A v N/A N/A N/A v N/A N/A shiftdecorator 2 N/A fn4d3 N/A N/A shiftdecorator 2 fn4 N/A N/A N/A self assertEqual N/A fn4d1 1 2 N/A N/A N/A self assertEqual N/A fn4d2 1 3 N/A N/A N/A self assertEqual N/A fn4d3 1 3 N/A testTopLevelContionalFunction N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A imports conditional_func overridden N/A N/A N/A late_global late_global Text N/A N/A x N/A N/A N/A N/A str N/A Text: %s x N/A