Closed dgw closed 5 years ago
This is a whole lot of code to do something simpler. Python is dynamic, you can check which version of python you're running and use the correct function depending on the version.
Pushed an updated commit for this, eliminating the helper function.
I'm new to this whole multi-version thing. Going to try to find someone running Willie on Python 3.x and get this new version tested. Can confirm that it works as expected under Python 2.7.
Just look at this relic from my early days of learning how to use Python. Not saying I'm any better at using the language now, but oh, the noobness! Rebased on top of current extras and once more ready to go.
No more < instead of <, etc.
Seemed most portable to just include a function to do this, as other methods I found depended on either Python 2.x or 3 stuff.