davemds pushed a commit to branch master.

http://git.enlightenment.org/bindings/python/python-efl.git/commit/?id=d6fc38ea59e2c1438fa9bd1a579ba11747e3632d

commit d6fc38ea59e2c1438fa9bd1a579ba11747e3632d
Author: Dave Andreoli <[email protected]>
Date:   Sun Aug 14 11:58:49 2016 +0200

    ecore.Exe: implement is_deleted for consistency with other classes
---
 efl/ecore/efl.ecore_exe.pxi | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/efl/ecore/efl.ecore_exe.pxi b/efl/ecore/efl.ecore_exe.pxi
index 55dff0e..8d56cf3 100644
--- a/efl/ecore/efl.ecore_exe.pxi
+++ b/efl/ecore/efl.ecore_exe.pxi
@@ -368,6 +368,17 @@ cdef class Exe(object):
                  <uintptr_t>self.exe, PY_REFCOUNT(self),
                  pid, cmd, flags, data)
 
+    def is_deleted(self):
+        """Check if the object has been deleted thus leaving the object 
shallow.
+
+        :return: True if the object has been deleted yet, False otherwise.
+        :rtype: bool
+
+        .. versionadded:: 1.18
+
+        """
+        return bool(self.exe == NULL)
+
     def delete(self):
         """Forcefully frees the given process handle.
 

-- 


Reply via email to