Closed svisser closed 5 years ago
One minor comment but overall LGTM 👍
Also, happy New Year!
That's fair, I have updated the commit - with the Python 2 check inlined as we hopefully won't need it anymore when Python 2 reaches end of life at the end of next year ;)
First of all, best wishes for 2019.
This updates the string utility functions to return a Unicode string when a Unicode string is passed in. In Python 2 this would raise an error due to the use of str(v).
This is a change related to issue #374.
The tests also check for other types (int) to preserve existing functionality.