veekun / pokedex

more than you ever wanted to know about Pokémon
MIT License
1.44k stars 637 forks source link

Python 3 and Pyflakes fixes #197

Closed jwodder closed 7 years ago

jwodder commented 7 years ago

Despite claiming Python 3 support in setup.py, the code currently uses several functions & types that only exist in Python 2. This pull request fixes these through the magic of six.

I also took care of a number of warnings that Pyflakes was generating (mostly about unused imports).

eevee commented 7 years ago

"Support" is a strong word. I put a little effort into Python 3 recently, but it hasn't been comprehensive. So thank you for this :)