Remove workaround for a Python 2.4 bug in Model.__reduce__
|Reported by:||koniiiik||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)
Changed 4 years ago by claudep
comment:1 Changed 4 years ago by claudep
- Has patch set
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Triage Stage changed from Unreviewed to Accepted