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
There are several places where deepcopy is used with FeedParserDict instance. It raises KeyError since there is a row copier = getattr(x, "__deepcopy__", None) within copy.deepcopy function:
KeyError: '__deepcopy__'
File "site-packages/feedparser.py", line 398, in __getattr__
return self.__getitem__(key)
File "site-packages/feedparser.py", line 356, in __getitem__
return dict.__getitem__(self, key)
I have found the old commit ba2e85e but now there is no any check to prevent such a case.
The text was updated successfully, but these errors were encountered:
Thanks for reporting this! I'd like to confirm the behavior: is the KeyError happening in code that you've written? Or is it happening while parsing a specific feed? Finally, what version of Python are you using?
There are several places where
deepcopyis used withFeedParserDictinstance. It raises KeyError since there is a rowcopier = getattr(x, "__deepcopy__", None)withincopy.deepcopyfunction:I have found the old commit ba2e85e but now there is no any check to prevent such a case.
The text was updated successfully, but these errors were encountered: