#NEWLINE# def bust( obj , update = False ) : #NEWLINE# #INDENT# if ( type ( obj ) == list ) : #NEWLINE# #INDENT# cache . delete_many ( [ _cache_key ( o ) for o in obj ] ) #NEWLINE# for o in obj : #NEWLINE# #INDENT# if ( _cache_key ( o ) in _process_cache ) : #NEWLINE# #INDENT# del _process_cache [ _cache_key ( o ) ] #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# _k = _cache_key ( obj ) #NEWLINE# cache . delete ( _k ) #NEWLINE# if ( _k in _process_cache ) : #NEWLINE# #INDENT# del _process_cache [ _cache_key ( obj ) ] #NEWLINE# #UNINDENT# #UNINDENT# if update : #NEWLINE# #INDENT# put ( obj )