fabianvf/python-rake

python3.5 issue: iteritems() is replaced with items()

Closed this issue · 2 comments

I found another problem. With python3.5 the iteritems() function is replaced with items() (according to http://stackoverflow.com/questions/4550645/iterating-over-key-value-pairs-in-a-dict-sorted-by-keys). iteritems is called in Rake.run in line 132. If I replace it with items() it is working. But I do not know, how to deal with code for different python version and pip.

👍