striplog icon indicating copy to clipboard operation
striplog copied to clipboard

partialmethod re-implementation for py2.7 does not work

Open kinverarity1 opened this issue 7 years ago • 0 comments

The implementation of partialmethod in utils.py (used when python 2.7 is present) doesn't work, because it is used on a @classmethod, which is not callable (ref python 3.4+ implementation of partialmethod: https://github.com/python/cpython/blob/e56975351bc2c574c728f738e88effba7116279f/Lib/functools.py#L331)

I'll try to work out a solution.

kinverarity1 avatar Mar 10 '18 06:03 kinverarity1