#13192: some code clean up for sage/graphs/graph.py
----------------------------------+-----------------------------------------
       Reporter:  eisermbi        |         Owner:  jason, ncohen, rlm          
      
           Type:  defect          |        Status:  positive_review             
      
       Priority:  major           |     Milestone:  sage-5.3                    
      
      Component:  graph theory    |    Resolution:                              
      
       Keywords:  sparse6_string  |   Work issues:                              
      
Report Upstream:  N/A             |     Reviewers:  Nathann Cohen, Karl-Dieter 
Crisman
        Authors:  Birk Eisermann  |     Merged in:                              
      
   Dependencies:  #13109          |      Stopgaps:                              
      
----------------------------------+-----------------------------------------

Old description:

> The function compare_edges() of module 'sage.graphs.graph.py' is a simple
> comparison function used only in function sparse6_string(), and it works
> only on graphs whose vertices can be compared with the < operator, e.g.
> integers. Furthermore, the documentation is incomplete.
>
> Suggesting to replace it by a built-in function at the place where it was
> used.
>
> Apply [attachment:trac_13192-cleanup-v2.patch] and
> [attachment:trac_13192_whitespace.patch].

New description:

 The function compare_edges() of module 'sage.graphs.graph.py' is a simple
 comparison function used only in function sparse6_string(), and it works
 only on graphs whose vertices can be compared with the < operator, e.g.
 integers. Furthermore, the documentation is incomplete.

 Suggesting to replace it by a built-in function at the place where it was
 used.

 Apply [attachment:trac_13192-cleanup-v3.patch] and
 [attachment:trac_13192_whitespace.patch].

--

Comment (by eisermbi):

 Let's try this one......

 patchbot: apply trac_13192-cleanup-v3.patch trac_13192_whitespace.patch

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