fabianvf / python-rake

MIT License
130 stars 35 forks source link

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

Closed be-ndee closed 8 years ago

be-ndee commented 8 years ago

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.

tomaspinho commented 8 years ago

Please check if https://github.com/tomaspinho/python-rake/tree/python3 solves your issue

be-ndee commented 8 years ago

:+1: