We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This exception subclass can't be unpickled, but I think it should be able to be unpickled fine:
import pickle class MyException(Exception): def __init__(self, msg, another_arg): super().__init__(msg) self.another_arg = another_arg m = MyException("hello", 12) pickle.loads(pickle.dumps(m)) # error # Traceback (most recent call last): # File "<stdin>", line 1, in <module> # TypeError: MyException.__init__() missing 1 required positional argument: 'another_arg'
Discovered in celery/celery#6990
The text was updated successfully, but these errors were encountered:
Duplicate of #76877
Sorry, something went wrong.
No branches or pull requests
Bug report
This exception subclass can't be unpickled, but I think it should be able to be unpickled fine:
Discovered in celery/celery#6990
Your environment
The text was updated successfully, but these errors were encountered: