Skip to content

Problems with deepcopy #73

@luizirber

Description

@luizirber

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions