Skip to content

Commit

Permalink
[ 1153815 ] Stack overflow crash in __getattr__/deepcopy
Browse files Browse the repository at this point in the history
git-svn-id: http://feedparser.googlecode.com/svn/trunk@157 73d2b349-402e-0410-baf4-070fd12ab5b7
  • Loading branch information
f8dy committed Dec 22, 2005
1 parent 918fdd9 commit ba2e85e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions feedparser/feedparser.py
Expand Up @@ -210,6 +210,7 @@ def __getattr__(self, key):
except KeyError:
pass
try:
assert not key.startswith('_')
return self.__getitem__(key)
except:
raise AttributeError, "object has no attribute '%s'" % key
Expand Down

0 comments on commit ba2e85e

Please sign in to comment.