HomeSoftware Heritage

Fix RecursionError when storage proxies are deepcopied or unpickled.

Description

Fix RecursionError when storage proxies are deepcopied or unpickled.

They both get attributes (eg. setattr) before setting any attribute,
and don't call the constructor; so self.storage is not set when getattr
is called for the first times.

Details

Provenance
vlorentzAuthored on Feb 11 2020, 2:12 PM
vlorentzPushed on Feb 11 2020, 2:41 PM
Differential Revision
D2645: Fix RecursionError when storage proxies are deepcopied or unpickled.
Parents
rDSTOde7797df0f0b: tests: Remove print statement
Branches
Unknown
Tags
Unknown
Build Status
Buildable 10538
Build 15719: test-and-buildJenkins