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 pitrou, serhiy.storchaka, skrah
Date 2018-05-31.13:03:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1527771791.78.0.682650639539.issue33713@psf.upfronthosting.co.za>
In-reply-to
Content
The GC calls tp_clear() if the memoryview is a part of the reference loop.

a = [memoryview(...)]
a.append(a)
del a

The GC will call tp_clear() of the list or the memoryview. What will be called first is not specified.
History
Date User Action Args
2018-05-31 13:03:11serhiy.storchakasetrecipients: + serhiy.storchaka, pitrou, skrah
2018-05-31 13:03:11serhiy.storchakasetmessageid: <1527771791.78.0.682650639539.issue33713@psf.upfronthosting.co.za>
2018-05-31 13:03:11serhiy.storchakalinkissue33713 messages
2018-05-31 13:03:11serhiy.storchakacreate