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 serhiy.storchaka
Recipients serhiy.storchaka, skrah
Date 2018-05-31.12:15:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1527768910.92.0.682650639539.issue33713@psf.upfronthosting.co.za>
In-reply-to
Content
The tp_clear handler of memoryview can set an exception when fail to release the buffer. An exception in tp_clear is not expected and caused a crash in the garbage collector. In the master branch it will cause just writing a traceback to stderr (see issue33622), but in any case it would be better to handle the failure locally in memoryview. I don't know what is the best solution: silencing an error, writing a traceback with more detailed information, or resurrecting the buffer object.
History
Date User Action Args
2018-05-31 12:15:10serhiy.storchakasetrecipients: + serhiy.storchaka, skrah
2018-05-31 12:15:10serhiy.storchakasetmessageid: <1527768910.92.0.682650639539.issue33713@psf.upfronthosting.co.za>
2018-05-31 12:15:10serhiy.storchakalinkissue33713 messages
2018-05-31 12:15:10serhiy.storchakacreate