Closed mvdbeek closed 3 years ago
Thanks for the PR, this solves some pretty glaring Python 3 compatibility problems. The positional-only marker is redundant though, and breaks compatibility with any version prior to 3.8. Having it match the signature to the current list.sort would be preferred (*, key=None, reverse=False
), that way it works in any version of Python 3.
If you could tweak the PR, I'd be happy to merge it.
Sure, thanks for the quick response!
The
cmp
keyword doesn't exist anymore, and so fails with