#5419: moving fraction field to new coercion broke old pickles
------------------------+---------------------------------------------------
 Reporter:  craigcitro  |       Owner:  craigcitro
     Type:  defect      |      Status:  new       
 Priority:  major       |   Milestone:            
Component:  algebra     |    Keywords:            
------------------------+---------------------------------------------------
 At some point, fraction fields were moved over to the new coercion model,
 which is good -- except that it broke all the old pickles. This thread on
 `sage-support` is about someone having a problem with them:
 http://groups.google.com/group/sage-
 support/browse_thread/thread/b5519db45a141819

 The problem is that the old pickles don't have `_element_class` or
 `_element_constructor` fields, and there was no factory function in place
 -- so unpickling tries to directly create the object, which totally fails.
 Putting the old `__call__` method back in place is an ugly hack to get
 these to load, but it's not a good permanent solution.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5419>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to