Ticket #9828: 8_alpha_fixes.patch

File 8_alpha_fixes.patch, 2.0 KB (added by robertwb, 12 years ago)
  • sage/graphs/generic_graph_pyx.pxd

    # HG changeset patch
    # User Robert Bradshaw <robertwb@math.washington.edu>
    # Date 1285921884 25200
    # Node ID a32fb9a08a6a88c73b47ddf750955cde93c5098c
    # Parent  27a632d84840f2a1284ca8bb6d435589621f008d
    [mq]: 8_alpha_fixes.patch
    
    diff -r 27a632d84840 -r a32fb9a08a6a sage/graphs/generic_graph_pyx.pxd
    a b  
    2323    cdef int **line_h_in
    2424    cdef list g_vertices
    2525    cdef int i
    26     cdef bool directed
     26    cdef bint directed
    2727
    2828
    2929cdef inline bint vectors_equal(int n, int *a, int *b)
  • sage/graphs/generic_graph_pyx.pyx

    diff -r 27a632d84840 -r a32fb9a08a6a sage/graphs/generic_graph_pyx.pyx
    a b  
    682682        _sig_on
    683683        cdef int *tmp_array_out
    684684        cdef int *tmp_array_in
    685         cdef bool is_admissible
     685        cdef bint is_admissible
    686686
    687687        # as long as there is a non-void partial copy of H in G
    688688        while self.active >= 0:
  • sage/misc/sageinspect.py

    diff -r 27a632d84840 -r a32fb9a08a6a sage/misc/sageinspect.py
    a b  
    10551055        sage: sage_getdef(sage.rings.integer.Integer.factor, obj_name='factor')
    10561056        "factor(algorithm='pari', proof=True, limit=None)"
    10571057
    1058     A cython method without an embedded position can lead to surprising errors::
    1059    
    1060         sage: sage_getsource(sage.rings.integer.Integer.__init__, is_binary=True)
    1061         Traceback (most recent call last):
    1062         ...
    1063         TypeError: arg is not a module, class, method, function, traceback, frame, or code object
    1064 
    10651058        sage: sage_getdef(sage.rings.integer.Integer.__init__, obj_name='__init__')
    1066         '__init__( [noargspec] )'
    1067 
     1059        '__init__(x=None, base=0)'
     1060 
    10681061    Test _extract_source with some likely configurations, including no trailing
    10691062    newline at the end of the file::
    10701063