<s> import descr_test <EOL> def f ( o , expect_exc ) : <EOL> print '<STR_LIT>' , repr ( o . member_short ) <EOL> print '<STR_LIT:int>' , repr ( o . member_int ) <EOL> print '<STR_LIT>' , repr ( o . member_long ) <EOL> print '<STR_LIT:float>' , repr ( o . member_float ) <EOL> print '<STR_LIT>' , repr ( o . member_double ) <EOL> print '<STR_LIT:string>' , repr ( o . member_string ) <EOL> print '<STR_LIT>' , repr ( o . member_string_inplace ) <EOL> print '<STR_LIT>' , repr ( o . member_char ) <EOL> print '<STR_LIT>' , repr ( o . member_byte ) <EOL> print '<STR_LIT>' , repr ( o . member_ubyte ) <EOL> print '<STR_LIT>' , repr ( o . member_ushort ) <EOL> print '<STR_LIT>' , repr ( o . member_uint ) <EOL> print '<STR_LIT>' , repr ( o . member_ulong ) <EOL> print '<STR_LIT:bool>' , repr ( o . member_bool ) <EOL> print '<STR_LIT:object>' , repr ( o . member_object ) <EOL> if expect_exc : <EOL> try : <EOL> o . member_object_ex <EOL> except AttributeError as e : <EOL> print '<STR_LIT>' , e . message <EOL> else : <EOL> print '<STR_LIT>' , repr ( o . member_object_ex ) <EOL> print '<STR_LIT>' , repr ( o . member_long_long ) <EOL> print '<STR_LIT>' , repr ( o . member_ulong_long ) <EOL> print '<STR_LIT>' , repr ( o . member_pyssizet ) <EOL> for i in xrange ( <NUM_LIT:1000> ) : <EOL> print "<STR_LIT>" <EOL> f ( descr_test . member_descr_object1 , False ) <EOL> print "<STR_LIT>" <EOL> f ( descr_test . member_descr_object2 , True ) </s>
