kuuko pushed a commit to branch master.

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

commit 8f2baa86b5695d4daf5de086b142a37363337a87
Author: Kai Huuhko <kai.huu...@gmail.com>
Date:   Sun Jan 3 09:31:16 2016 +0200

    utils.deprecated: Fix compatibility with Python 3.5
---
 efl/utils/deprecated.pyx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/efl/utils/deprecated.pyx b/efl/utils/deprecated.pyx
index a46ddd3..c06839a 100644
--- a/efl/utils/deprecated.pyx
+++ b/efl/utils/deprecated.pyx
@@ -76,12 +76,12 @@ class WRAPPER(object):
 
     def __call__(self, *args, **kwargs):
         cdef:
-            object stack
+            list stack
             tuple caller
             str msg
 
-        stack = traceback.extract_stack()
-        caller = stack[-1]
+        stack = list(traceback.extract_stack())
+        caller = tuple(stack[-1])
         caller_module, caller_line, caller_name, caller_code = caller
         if caller_code is not None:
             if hasattr(self.f, "__objclass__"):

-- 


Reply via email to