<s> def f ( ) : <EOL> print eval ( "<STR_LIT>" ) <EOL> print eval ( "<STR_LIT:a>" ) <EOL> f ( ) <EOL> def f ( ) : <EOL> a = <NUM_LIT:0> <EOL> b = <NUM_LIT:0> <EOL> e = <NUM_LIT:0> <EOL> r = <NUM_LIT:0> <EOL> def g ( ) : <EOL> def h ( ) : <EOL> print b <EOL> print e <EOL> print a <EOL> c = <NUM_LIT:0> <EOL> print c <EOL> eval ( "<STR_LIT>" ) <EOL> eval ( "<STR_LIT>" ) <EOL> eval ( "<STR_LIT>" ) <EOL> eval ( "<STR_LIT>" ) <EOL> print a <EOL> print c <EOL> try : <EOL> print d <EOL> except NameError : <EOL> print '<STR_LIT>' <EOL> print locals ( ) <EOL> def unused ( ) : <EOL> print r <EOL> g ( ) <EOL> f ( ) <EOL> def meh ( l ) : <EOL> l [ '<STR_LIT:a>' ] = <NUM_LIT:5> <EOL> return <NUM_LIT:3> <EOL> def f ( ) : <EOL> print eval ( "<STR_LIT>" ) <EOL> f ( ) <EOL> def f ( ) : <EOL> print eval ( "<STR_LIT>" , globals ( ) , { } ) <EOL> f ( ) <EOL> def f ( ) : <EOL> d = locals ( ) <EOL> a = <NUM_LIT:2> <EOL> d [ '<STR_LIT:a>' ] = <NUM_LIT:3> <EOL> print a <EOL> print d <EOL> f ( ) <EOL> def f ( ) : <EOL> exec "<STR_LIT>" <EOL> d = locals ( ) <EOL> a = <NUM_LIT:2> <EOL> d [ '<STR_LIT:a>' ] = <NUM_LIT:3> <EOL> print a <EOL> print d <EOL> f ( ) <EOL> def f ( ) : <EOL> d = locals ( ) <EOL> a = <NUM_LIT:2> <EOL> d [ '<STR_LIT:a>' ] = <NUM_LIT:3> <EOL> print a <EOL> print d <EOL> exec "<STR_LIT>" <EOL> f ( ) <EOL> def f ( arg ) : <EOL> a = <NUM_LIT:2> <EOL> d = locals ( ) <EOL> print d <EOL> a = <NUM_LIT:3> <EOL> print d <EOL> locals ( ) <EOL> print d <EOL> del a <EOL> print d <EOL> locals ( ) <EOL> print d <EOL> f ( <NUM_LIT:12> ) <EOL> def f ( arg ) : <EOL> exec "<STR_LIT>" <EOL> a = <NUM_LIT:2> <EOL> d = locals ( ) <EOL> print d <EOL> a = <NUM_LIT:3> <EOL> print d <EOL> locals ( ) <EOL> print d <EOL> del a <EOL> print d <EOL> locals ( ) <EOL> print d <EOL> f ( <NUM_LIT:12> ) <EOL> def f ( ) : <EOL> a = <NUM_LIT:5> <EOL> def g ( ) : <EOL> print a <EOL> print locals ( ) <EOL> f ( ) <EOL> def f ( ) : <EOL> def g ( ) : <EOL> a = <NUM_LIT:0> <EOL> def h ( ) : <EOL> print a <EOL> print locals ( ) <EOL> yield <NUM_LIT:12> <EOL> print locals ( ) <EOL> yield <NUM_LIT> <EOL> yield h <EOL> a = <NUM_LIT:1> <EOL> yield <NUM_LIT:2> <EOL> gen = g ( ) <EOL> h1 = gen . next ( ) <EOL> hgen = h1 ( ) <EOL> hgen . next ( ) <EOL> gen . next ( ) <EOL> hgen . next ( ) <EOL> f ( ) <EOL> foo = <NUM_LIT:0> <EOL> class C ( object ) : <EOL> try : <EOL> del foo <EOL> except NameError : <EOL> print '<STR_LIT>' <EOL> foo = <NUM_LIT:0> <EOL> class C ( object ) : <EOL> foo = <NUM_LIT:1> <EOL> print foo <EOL> del foo <EOL> print foo <EOL> class C ( object ) : <EOL> a = <NUM_LIT:2> <EOL> d = locals ( ) <EOL> print d <EOL> a = <NUM_LIT:3> <EOL> print d <EOL> locals ( ) <EOL> print d <EOL> del a <EOL> print d <EOL> def f ( moo ) : <EOL> class C ( object ) : <EOL> a = <NUM_LIT:2> <EOL> d = locals ( ) <EOL> print d <EOL> a = <NUM_LIT:3> <EOL> print d <EOL> locals ( ) <EOL> print d <EOL> del a <EOL> print d <EOL> print moo <EOL> f ( <NUM_LIT> ) <EOL> some_glob = <NUM_LIT:2> <EOL> def f ( ) : <EOL> global some_glob <EOL> def g ( ) : <EOL> exec "<STR_LIT>" <EOL> print some_glob <EOL> g ( ) <EOL> f ( ) <EOL> some_glob = <NUM_LIT:2> <EOL> def f ( ) : <EOL> def g ( ) : <EOL> global some_glob <EOL> exec "<STR_LIT>" <EOL> print some_glob <EOL> g ( ) <EOL> f ( ) <EOL> some_glob = <NUM_LIT:2> <EOL> def f ( ) : <EOL> global some_glob <EOL> exec "<STR_LIT>" <EOL> def g ( ) : <EOL> print some_glob <EOL> g ( ) <EOL> f ( ) </s>
