msanders / cider

Hassle-free bootstrapping with Homebrew.
https://pypi.python.org/pypi/cider/
MIT License
840 stars 25 forks source link

Fix Python3 compatibility issue in apply_defaults #44

Closed maebert closed 7 years ago

maebert commented 7 years ago
sorted(key_types.items())

won’t work on python 3 as types are not orderable. Is there a particular reason you don’t simply use

return key_types.get(type(value), "-string")

?