This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients pitrou, vstinner
Date 2019-05-26.14:54:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1558882480.22.0.119118964732.issue37054@roundup.psfhosted.org>
In-reply-to
Content
I see the following kind of exceptions when running test_memoryio:

Exception ignored in: <function IOBase.__del__ at 0x7f7cd44f49b0>
Traceback (most recent call last):
  File "/home/antoine/cpython/default/Lib/_pyio.py", line 409, in __del__
    self.close()
  File "/home/antoine/cpython/default/Lib/_pyio.py", line 2152, in close
    if self.buffer is not None and not self.closed:
  File "/home/antoine/cpython/default/Lib/_pyio.py", line 2093, in buffer
    return self._buffer
AttributeError: 'StringIO' object has no attribute '_buffer'
Exception ignored in: <function IOBase.__del__ at 0x7f7cd44f49b0>
Traceback (most recent call last):
  File "/home/antoine/cpython/default/Lib/_pyio.py", line 409, in __del__
    self.close()
  File "/home/antoine/cpython/default/Lib/_pyio.py", line 2152, in close
    if self.buffer is not None and not self.closed:
  File "/home/antoine/cpython/default/Lib/_pyio.py", line 2093, in buffer
    return self._buffer
AttributeError: 'StringIO' object has no attribute '_buffer'
ok

It seems this could be related to issue18748.
History
Date User Action Args
2019-05-26 14:54:40pitrousetrecipients: + pitrou, vstinner
2019-05-26 14:54:40pitrousetmessageid: <1558882480.22.0.119118964732.issue37054@roundup.psfhosted.org>
2019-05-26 14:54:40pitroulinkissue37054 messages
2019-05-26 14:54:39pitroucreate