Commits

Maciej Fijalkowski  committed 66cdca6

leave a comment how this is buggy

  • Participants
  • Parent commits a85b330
  • Branches lightweight-finalizers

Comments (0)

Files changed (1)

File pypy/rlib/rmmap.py

         elif _POSIX:
             self.closed = True
             if self.fd != -1:
+                # XXX this is buggy - raising in an RPython del is not a good
+                #     idea, we should swallow the exception or ignore the
+                #     underlaying close error code
                 os.close(self.fd)
                 self.fd = -1
             if self.size > 0: