Page MenuHomeSoftware Heritage

Fix RecursionError when storage proxies are deepcopied or unpickled.
ClosedPublic

Authored by vlorentz on Tue, Feb 11, 2:12 PM.

Details

Summary

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.

Diff Detail

Repository
rDSTO Storage manager
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

vlorentz created this revision.Tue, Feb 11, 2:12 PM
anlambert accepted this revision.Tue, Feb 11, 2:41 PM
This revision is now accepted and ready to land.Tue, Feb 11, 2:41 PM