<s> class C ( object ) : <EOL> def __delattr__ ( self , attr ) : <EOL> print "<STR_LIT>" , attr <EOL> if attr . startswith ( "<STR_LIT:c>" ) : <EOL> print "<STR_LIT>" <EOL> else : <EOL> object . __delattr__ ( self , attr ) <EOL> def __setattr__ ( self , attr , value ) : <EOL> print attr , value <EOL> if attr . startswith ( "<STR_LIT:c>" ) : <EOL> print "<STR_LIT>" <EOL> else : <EOL> object . __setattr__ ( self , attr , value ) <EOL> def __getattribute__ ( self , attr ) : <EOL> print "<STR_LIT>" , attr <EOL> if attr . startswith ( "<STR_LIT:c>" ) : <EOL> return "<STR_LIT>" <EOL> return object . __getattribute__ ( self , attr ) <EOL> c = C ( ) <EOL> c . a = <NUM_LIT:1> <EOL> c . b = <NUM_LIT:2> <EOL> c . c = <NUM_LIT:3> <EOL> print sorted ( c . __dict__ . items ( ) ) <EOL> print c . a , c . b , c . c <EOL> del c . a <EOL> del c . b <EOL> del c . c <EOL> print sorted ( c . __dict__ . items ( ) ) <EOL> v = <NUM_LIT:1> <EOL> print object . __hash__ ( v ) == object . __hash__ ( v ) </s>
