Exemple #1
0
 def close_w(self, space):
     try:
         W_RawIOBase.close_w(self, space)
     except OperationError:
         if not self.closefd:
             self.fd = -1
             raise
         self._close(space)
         raise
     if not self.closefd:
         self.fd = -1
         return
     self._close(space)
Exemple #2
0
 def close_w(self, space):
     try:
         W_RawIOBase.close_w(self, space)
     except OperationError:
         if not self.closefd:
             self.fd = -1
             raise
         self._close(space)
         raise
     if not self.closefd:
         self.fd = -1
         return
     self._close(space)
Exemple #3
0
 def close_w(self, space):
     if not self.closefd:
         self.fd = -1
         return
     self._close(space)
     W_RawIOBase.close_w(self, space)
Exemple #4
0
 def close_w(self, space):
     if not self.closefd:
         self.fd = -1
         return
     self._close(space)
     W_RawIOBase.close_w(self, space)