You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dumps() seems to work fine, but it fails at loads(). This is the traceback:
Traceback (most recent call last):
File "C:\Users\x\reproduce.py", line 28, in <module>
main()
File "C:\Users\x\reproduce.py", line 18, in main
unserialized = dill.loads(serialized)
File "C:\Users\x\AppData\Local\Programs\Python\Python39\lib\site-packages\dill\_dill.py", line 303, in loads
return load(file, ignore, **kwds)
File "C:\Users\x\AppData\Local\Programs\Python\Python39\lib\site-packages\dill\_dill.py", line 289, in load
return Unpickler(file, ignore=ignore, **kwds).load()
File "C:\Users\x\AppData\Local\Programs\Python\Python39\lib\site-packages\dill\_dill.py", line 444, in load
obj = StockUnpickler.load(self)
AttributeError: can't set attribute
Minimal reproduction steps
reproduce.py
dumps() seems to work fine, but it fails at loads(). This is the traceback:
Class which causes the error:
https://github.com/dolfies/discord.py-self/blob/master/discord/client.py#L144
Why is this happening? How can I prevent it?
The text was updated successfully, but these errors were encountered: