#10916: Multiple loops and edges are lost upon pickling
----------------------------+-----------------------------------------------
   Reporter:  nthiery       |          Owner:  jason, ncohen, rlm
       Type:  defect        |         Status:  needs_work        
   Priority:  major         |      Milestone:                    
  Component:  graph theory  |       Keywords:  graph, pickling   
Work_issues:                |       Upstream:  N/A               
   Reviewer:                |         Author:                    
     Merged:                |   Dependencies:                    
----------------------------+-----------------------------------------------

Comment(by brunellus):

 Hi! I think this is not the case because the DiGraph object is not used in
 the resulting tuple -- it is just a device to get all arcs. Maybe I don't
 understand it correctly, but I assume that allow_multiedges is pickled one
 level higher, in the SparseGraphBackend object.

 {{{
 sage: loads(dumps(Graph({0: [1]})))
 Graph on 2 vertices
 sage: loads(dumps(Graph({0: [1,1]})))
 Multi-graph on 2 vertices
 }}}

 What do you think?

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10916#comment:4>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
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