ntfy icon indicating copy to clipboard operation
ntfy copied to clipboard

Support python3.11

Open pyhedgehog opened this issue 2 years ago • 1 comments

In python3.11 inspect.getargspec removed at last (after deprecation in 3.0). Proposed fix:

try:
    from inspect import getargspec
except ImportError:
    from inspect import getfullargspec
    def getargspec(f):
        return tuple(getfullargspec(f))[:4]

pyhedgehog avatar Dec 05 '22 21:12 pyhedgehog

I was just wondering about the sort of error I was getting when running ntfy. Now it makes sense, because I was using Python 3.11

I hope this is fixed in an upcoming release.

MurtadhaInit avatar Dec 24 '22 12:12 MurtadhaInit