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, serhiy.storchaka, skrah
Date 2018-05-31.13:23:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1527773038.21.0.682650639539.issue33713@psf.upfronthosting.co.za>
In-reply-to
Content
Serhiy is right about the theoretical concern here.  However, it's probably quite difficult to find a concrete situation where this occurs, because we're talking about mbuf_clear and the managerbuffer object can't really get involved in a reference cycle by itself (not in normal use anyway): the memoryview object does, but it's a different thing.

By the way: PyBuffer_Release() returns void, so IMO it's a bug if it can return with an exception set.  We should fix that rather than focus on mbuf_clear().
History
Date User Action Args
2018-05-31 13:23:58pitrousetrecipients: + pitrou, skrah, serhiy.storchaka
2018-05-31 13:23:58pitrousetmessageid: <1527773038.21.0.682650639539.issue33713@psf.upfronthosting.co.za>
2018-05-31 13:23:58pitroulinkissue33713 messages
2018-05-31 13:23:58pitroucreate