ntfy
ntfy copied to clipboard
Support python3.11
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]
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.