Problems with deepcopy
luizirber opened this issue · 0 comments
luizirber commented
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