cloudy_vision icon indicating copy to clipboard operation
cloudy_vision copied to clipboard

python 2/3 compatibility

Open iborko opened this issue 7 years ago • 1 comments

I made changes to make this code both python2 and python3 compatible. I replaced the iteritems with items - it doesn't do the same thing, but for very small lists (as the ones in this code) performance impact is insignificant. And of course, results are equal. Also added list in front of zip to make in work in python3 (where zip returns a iterable ZipObject).

iborko avatar Jan 22 '18 08:01 iborko

Thank you for the several pull requests you have submitted!

I will take a look at them this weekend and write back or merge away.

goberoi avatar Feb 02 '18 19:02 goberoi