<s> print '<STR_LIT>' <EOL> g = { '<STR_LIT:a>' : <NUM_LIT:1> } <EOL> l = { '<STR_LIT:b>' : <NUM_LIT:2> } <EOL> exec """<STR_LIT>""" in g , l <EOL> print '<STR_LIT>' <EOL> g = { } <EOL> l = { } <EOL> exec """<STR_LIT>""" in g , l <EOL> del g [ '<STR_LIT>' ] <EOL> print g <EOL> print l <EOL> print '<STR_LIT>' <EOL> g = { '<STR_LIT:a>' : <NUM_LIT:1> } <EOL> l = { '<STR_LIT:b>' : <NUM_LIT:2> } <EOL> exec """<STR_LIT>""" in g , l <EOL> del g [ '<STR_LIT>' ] <EOL> print g <EOL> print l <EOL> print '<STR_LIT>' <EOL> g = { '<STR_LIT:a>' : <NUM_LIT:4> , '<STR_LIT:b>' : <NUM_LIT:5> } <EOL> l = { } <EOL> exec """<STR_LIT>""" in g , l <EOL> for i in xrange ( <NUM_LIT:1000> ) : <EOL> g [ '<STR_LIT:b>' ] = <NUM_LIT:6> <EOL> l [ '<STR_LIT:f>' ] ( i ) <EOL> print l [ '<STR_LIT:f>' ] . __module__ <EOL> print '<STR_LIT>' <EOL> g = { '<STR_LIT:a>' : <NUM_LIT:4> , '<STR_LIT:b>' : <NUM_LIT:5> , '<STR_LIT:c>' : <NUM_LIT:6> } <EOL> exec """<STR_LIT>""" in g , { } <EOL> a = <NUM_LIT:0> <EOL> exec "<STR_LIT>" in None , None <EOL> print a <EOL> def exec_ ( _code_ , _globs_ , _locs_ ) : <EOL> exec ( """<STR_LIT>""" ) <EOL> g = { '<STR_LIT:a>' : <NUM_LIT:1> } <EOL> l = { '<STR_LIT:b>' : <NUM_LIT:2> } <EOL> exec_ ( """<STR_LIT>""" , g , l ) <EOL> exec """<STR_LIT>""" <EOL> exec """<STR_LIT>""" in { } , { } <EOL> b = <NUM_LIT:3> <EOL> a = <NUM_LIT:2> <EOL> s = """<STR_LIT>""" <EOL> exec s in { '<STR_LIT:a>' : <NUM_LIT:1> , '<STR_LIT:b>' : <NUM_LIT:5> } , { '<STR_LIT:b>' : <NUM_LIT:2> } <EOL> exec s <EOL> b = <NUM_LIT:3> <EOL> a = <NUM_LIT:2> <EOL> s = """<STR_LIT>""" <EOL> exec s in { '<STR_LIT:a>' : <NUM_LIT:1> , '<STR_LIT:b>' : <NUM_LIT:5> } , { '<STR_LIT:b>' : <NUM_LIT:2> } <EOL> exec s <EOL> a = <NUM_LIT:5> <EOL> exec """<STR_LIT>""" in { '<STR_LIT:a>' : <NUM_LIT:6> } , { } <EOL> exec """<STR_LIT>""" in { '<STR_LIT:a>' : <NUM_LIT:6> } , { } <EOL> def show ( obj , msg ) : <EOL> print msg <EOL> return obj <EOL> exec show ( "<STR_LIT>" , "<STR_LIT:body>" ) in show ( None , "<STR_LIT>" ) , show ( None , "<STR_LIT>" ) <EOL> g = { } <EOL> l = { } <EOL> exec ( "<STR_LIT>" , g , l ) <EOL> print g . keys ( ) , l . keys ( ) <EOL> s = """<STR_LIT>""" <EOL> exec s in { } <EOL> try : <EOL> exec s in { } , { } <EOL> raise Exception ( ) <EOL> except NameError as e : <EOL> print e <EOL> import types <EOL> g = types . ModuleType ( "<STR_LIT>" ) <EOL> l = types . ModuleType ( "<STR_LIT>" ) <EOL> exec ( "<STR_LIT>" , g . __dict__ , l . __dict__ ) <EOL> print g . a <EOL> print l . b <EOL> s = "<STR_LIT>" <EOL> g = dict ( ) <EOL> exec s in g <EOL> print "<STR_LIT:version>" in g <EOL> import import_target <EOL> assert import_target . z == <NUM_LIT:2> <EOL> z = <NUM_LIT:3> <EOL> exec "<STR_LIT>" in import_target . __dict__ , { } <EOL> exec "<STR_LIT>" in globals ( ) , { } <EOL> s = """<STR_LIT>""" <EOL> exec s in import_target . __dict__ , { } <EOL> exec s in globals ( ) , { } <EOL> exec "<STR_LIT>" <EOL> exec "<STR_LIT>" in { } , { } <EOL> s = "<STR_LIT>" <EOL> g = { } <EOL> l = { } <EOL> exec s in g , l <EOL> print l <EOL> s = """<STR_LIT>""" <EOL> g = { } <EOL> l = { } <EOL> exec s in g , l <EOL> print l <EOL> exec s <EOL> print __doc__ <EOL> s = """<STR_LIT>""" <EOL> g = { '<STR_LIT:start>' : <NUM_LIT:2> } <EOL> l = { } <EOL> exec s in g , l <EOL> for i in xrange ( <NUM_LIT:5> ) : <EOL> print list ( l [ '<STR_LIT:f>' ] ( <NUM_LIT:5> ) ( <NUM_LIT:1> , <NUM_LIT:2> , <NUM_LIT:3> , <NUM_LIT:4> , <NUM_LIT:5> ) ) <EOL> d = dict ( x = <NUM_LIT:1> , y = <NUM_LIT:0> ) <EOL> exec """<STR_LIT>""" in d </s>
