Remove workaround for a Python 2.4 bug in Model.__reduce__
|Reported by:||Michal Petrucha||Owned by:||nobody|
|Component:||Database layer (models, ORM)||Version:||master|
|Cc:||Triage Stage:||Ready for checkin|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Model.__reduce__ contains a workaround for a buggy implementation of pickling/unpickling where calling
super(Model, self).__reduce__() resulted in infinite recursion.
With Python 2.6 and 2.7 this seems no longer to be relevant, which means the workaround can probably be removed.
Change History (8)
comment:1 Changed 4 years ago by
|Patch needs improvement:||unset|
|Triage Stage:||Unreviewed → Accepted|