#4740: [with patch, needs work] Fix memory leak in finite field coercion
----------------------+-----------------------------------------------------
 Reporter:  mabshoff  |        Owner:  robertwb  
     Type:  defect    |       Status:  new       
 Priority:  major     |    Milestone:  sage-3.2.2
Component:  memleak   |   Resolution:            
 Keywords:            |  
----------------------+-----------------------------------------------------
Changes (by mabshoff):

  * summary:  [with patch, positive review] Fix memory leak in finite field
              coercion => [with patch, needs work] Fix memory
              leak in finite field coercion

Comment:

 This patch causes a failure with the pickle jar:
 {{{
 **********************************************************************
 File "/scratch/mabshoff/release-
 cycle/sage-3.2.2.alpha1/devel/sage/sage/structure/sage_object.pyx", line
 371, in __main__.example_16
 Failed example:
     sage.structure.sage_object.unpickle_all(std)###line 682:_sage_    >>>
 sage.structure.sage_object.unpickle_all(std)
 Expected:
     doctest:...: DeprecationWarning: Your data is stored in an old format.
 Please use the save() function to store your data in a more recent format.
     Successfully unpickled ... objects.
     Failed to unpickle 0 objects.
 Got:
     doctest:1172: DeprecationWarning: Your data is stored in an old
 format. Please use the save() function to store your data in a more recent
 format.
     ** failed:
 _class__sage_rings_finite_field_morphism_FiniteFieldHomset__.sobj
     Failed:
     _class__sage_rings_finite_field_morphism_FiniteFieldHomset__.sobj
     Successfully unpickled 453 objects.
     Failed to unpickle 1 objects.
 **********************************************************************
 1 items had failures:
    1 of   7 in __main__.example_16
 }}}

 Cheers,

 Michael

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4740#comment:2>
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