Skip to content
New issue

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

Problems with deepcopy #73

Open
luizirber opened this issue Aug 25, 2017 · 0 comments
Open

Problems with deepcopy #73

luizirber opened this issue Aug 25, 2017 · 0 comments

Comments

@luizirber
Copy link
Member

via @standage:

There is a maximum recursion depth exception when using deepcopy with screed records. This triggers the bug:

import screed
from copy import deepcopy
record = screed.screedRecord.Record()
deepcopy(record)

output

screed/screedRecord.py in __getattr__(self, name)
     39     def __getattr__(self, name):
     40         try:
---> 41             return self.d[name]
     42         except KeyError:
     43             raise AttributeError(name)

RuntimeError: maximum recursion depth exceeded while calling a Python object
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant