]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
pybind: replace __del__ with __dealloc__ for rbd
authorJosh Durgin <jdurgin@redhat.com>
Fri, 19 Feb 2016 07:28:25 +0000 (23:28 -0800)
committerJosh Durgin <jdurgin@redhat.com>
Fri, 19 Feb 2016 07:47:24 +0000 (23:47 -0800)
commit0a988f95bc16fcfdd9cd9c82f9307d6ad90c019b
treee510d44885252ae275fc2cfa765b75668431f51d
parent5489ad3a2157f98ed8d00b3c39405092d00b608f
pybind: replace __del__ with __dealloc__ for rbd

Cython extension types like these don't call __del__, but use
__dealloc__ instead:

http://docs.cython.org/src/userguide/special_methods.html#finalization-method-dealloc

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
src/pybind/rbd/rbd.pyx
src/test/pybind/test_rbd.py