Add tests for NULL objects in memoryviews (GH-4871)
Follow up on https://github.com/cython/cython/pull/4859 by adding tests for memoryviews too. Additional refactoring to avoid invalid decref calls on test failures. Instead, the item is safely cleared directly before the access.
Showing
Please register or sign in to comment