#NEWLINE# def __init__( self , name , mode = 'w' , prefix = '.' , suffix = '.temp' , dir = None , opener = open , **open_args ) : #NEWLINE# #INDENT# self . target_name = name #NEWLINE# self . temp_name = self . _get_temp_name ( name , prefix , suffix , dir ) #NEWLINE# self . file = opener ( self . temp_name , mode , ** open_args ) #NEWLINE# self . name = self . temp_name #NEWLINE# self . closed = False #NEWLINE# self . aborted = False #NEWLINE# self . abort_error = None