I'm so looking forward to using this module. However, I have to use python3 and I'm pretty sure deco is not ready for python3 yet:
Traceback (most recent call last): File "./decotest", line 17, in <module> run() File "/projects/build/build/virtualenv/prod/lib/python3.4/site-packages/deco/conc.py", line 54, in __call__ return self.f(*args, **kwargs) File "<string>", line 4, in run File "/projects/build/build/virtualenv/prod/lib/python3.4/site-packages/deco/conc.py", line 108, in __call__ self.replaceWithProxies(kwargs) File "/projects/build/build/virtualenv/prod/lib/python3.4/site-packages/deco/conc.py", line 86, in replaceWithProxies args_iter = args.iteritems() if type(args) is dict else enumerate(args) AttributeError: 'dict' object has no attribute 'iteritems'
It should be easy enough to not use iteritems. Is there a plan to make deco compatible with both python2 and python3?
Comment
I'm so looking forward to using this module. However, I have to use python3 and I'm pretty sure deco is not ready for python3 yet:
Traceback (most recent call last):
File "./decotest", line 17, in <module>
run()
File "/projects/build/build/virtualenv/prod/lib/python3.4/site-packages/deco/conc.py", line 54, in __call__
return self.f(*args, **kwargs)
File "<string>", line 4, in run
File "/projects/build/build/virtualenv/prod/lib/python3.4/site-packages/deco/conc.py", line 108, in __call__
self.replaceWithProxies(kwargs)
File "/projects/build/build/virtualenv/prod/lib/python3.4/site-packages/deco/conc.py", line 86, in replaceWithProxies
args_iter = args.iteritems() if type(args) is dict else enumerate(args)
AttributeError: 'dict' object has no attribute 'iteritems'
It should be easy enough to not use iteritems.
Is there a plan to make deco compatible with both python2 and python3?