gh-92888: memory_ass_sub() calls CHECK_RELEASED_INT() twice by vstinner · Pull Request #93127 · python/cpython bedevere-bot If a memoryview is released while setting an item, raise an exception. For example, converting an object to an index in C can execute arbitrary Python code which can indirectly release the memoryview.