Turbo87 / utm

Bidirectional UTM-WGS84 converter for python
http://pypi.python.org/pypi/utm
MIT License
486 stars 101 forks source link

Remove redundant Python2 float relics #69

Closed eumiro closed 3 years ago

eumiro commented 3 years ago

If Python2 imports divison from __future__, it behaves just like Python3, and a/b for two integers returns a float. So there is no need to write literal floats where integers would do.

eumiro commented 3 years ago

I wanted to see what happens if I drop Python 2.7 and 3.5: pytest version can be updated and larger numbers can be formatted using underscores (12_345_678), nothing else. So I understand there's no real motivation to drop 2.7 support.